Class BackendRule (2.51.0)

public final class BackendRule extends GeneratedMessageV3 implements BackendRuleOrBuilder

A backend rule provides configuration for an individual API element.

Protobuf type google.api.BackendRule

Static Fields

ADDRESS_FIELD_NUMBER

public static final int ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

DEADLINE_FIELD_NUMBER

public static final int DEADLINE_FIELD_NUMBER
Field Value
Type Description
int

DISABLE_AUTH_FIELD_NUMBER

public static final int DISABLE_AUTH_FIELD_NUMBER
Field Value
Type Description
int

JWT_AUDIENCE_FIELD_NUMBER

public static final int JWT_AUDIENCE_FIELD_NUMBER
Field Value
Type Description
int

MIN_DEADLINE_FIELD_NUMBER

public static final int MIN_DEADLINE_FIELD_NUMBER
Field Value
Type Description
int

OPERATION_DEADLINE_FIELD_NUMBER

public static final int OPERATION_DEADLINE_FIELD_NUMBER
Field Value
Type Description
int

OVERRIDES_BY_REQUEST_PROTOCOL_FIELD_NUMBER

public static final int OVERRIDES_BY_REQUEST_PROTOCOL_FIELD_NUMBER
Field Value
Type Description
int

PATH_TRANSLATION_FIELD_NUMBER

public static final int PATH_TRANSLATION_FIELD_NUMBER
Field Value
Type Description
int

PROTOCOL_FIELD_NUMBER

public static final int PROTOCOL_FIELD_NUMBER
Field Value
Type Description
int

SELECTOR_FIELD_NUMBER

public static final int SELECTOR_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BackendRule getDefaultInstance()
Returns
Type Description
BackendRule

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BackendRule.Builder newBuilder()
Returns
Type Description
BackendRule.Builder

newBuilder(BackendRule prototype)

public static BackendRule.Builder newBuilder(BackendRule prototype)
Parameter
Name Description
prototype BackendRule
Returns
Type Description
BackendRule.Builder

parseDelimitedFrom(InputStream input)

public static BackendRule parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BackendRule
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackendRule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendRule
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BackendRule parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BackendRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BackendRule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BackendRule parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BackendRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BackendRule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BackendRule parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BackendRule
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BackendRule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendRule
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BackendRule parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BackendRule
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackendRule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendRule
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BackendRule parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BackendRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BackendRule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendRule
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BackendRule> parser()
Returns
Type Description
Parser<BackendRule>

Methods

containsOverridesByRequestProtocol(String key)

public boolean containsOverridesByRequestProtocol(String key)

The map between request protocol and the backend address.

map<string, .google.api.BackendRule> overrides_by_request_protocol = 10;

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description