- 2.61.3 (latest)
- 2.61.2
- 2.60.0
- 2.59.2
- 2.58.0
- 2.57.0
- 2.56.0
- 2.54.1
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.1
- 2.49.0
- 2.48.0
- 2.46.0
- 2.45.1
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.1
- 2.38.0
- 2.37.1
- 2.36.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.1
- 2.24.0
- 2.23.1
- 2.22.1
- 2.21.1
- 2.15.0
- 2.14.3
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.6
- 2.8.4
- 2.7.4
public final class AuthenticationRule extends GeneratedMessageV3 implements AuthenticationRuleOrBuilder
Authentication rules for the service. By default, if a method has any authentication requirements, every request must include a valid credential matching one of the requirements. It's an error to include more than one kind of credential in a single request. If a method doesn't have any auth requirements, request credentials will be ignored.
Protobuf type google.api.AuthenticationRule
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AuthenticationRuleImplements
AuthenticationRuleOrBuilderStatic Fields
ALLOW_WITHOUT_CREDENTIAL_FIELD_NUMBER
public static final int ALLOW_WITHOUT_CREDENTIAL_FIELD_NUMBER
Type | Description |
int |
OAUTH_FIELD_NUMBER
public static final int OAUTH_FIELD_NUMBER
Type | Description |
int |
REQUIREMENTS_FIELD_NUMBER
public static final int REQUIREMENTS_FIELD_NUMBER
Type | Description |
int |
SELECTOR_FIELD_NUMBER
public static final int SELECTOR_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static AuthenticationRule getDefaultInstance()
Type | Description |
AuthenticationRule |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static AuthenticationRule.Builder newBuilder()
Type | Description |
AuthenticationRule.Builder |
newBuilder(AuthenticationRule prototype)
public static AuthenticationRule.Builder newBuilder(AuthenticationRule prototype)
Name | Description |
prototype | AuthenticationRule |
Type | Description |
AuthenticationRule.Builder |
parseDelimitedFrom(InputStream input)
public static AuthenticationRule parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
AuthenticationRule |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AuthenticationRule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AuthenticationRule |
Type | Description |
IOException |
parseFrom(byte[] data)
public static AuthenticationRule parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
AuthenticationRule |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AuthenticationRule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AuthenticationRule |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static AuthenticationRule parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
AuthenticationRule |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AuthenticationRule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AuthenticationRule |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static AuthenticationRule parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
AuthenticationRule |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AuthenticationRule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AuthenticationRule |
Type | Description |
IOException |
parseFrom(InputStream input)
public static AuthenticationRule parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
AuthenticationRule |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AuthenticationRule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AuthenticationRule |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static AuthenticationRule parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
AuthenticationRule |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AuthenticationRule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AuthenticationRule |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<AuthenticationRule> parser()
Type | Description |
Parser<AuthenticationRule> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getAllowWithoutCredential()
public boolean getAllowWithoutCredential()
If true, the service accepts API keys without any other credential. This flag only applies to HTTP and gRPC requests.
bool allow_without_credential = 5;
Type | Description |