public interface AuthenticationInfoOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCredentials()
public abstract String getCredentials()Optional. Optional credentials.
string credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The credentials. |
getCredentialsBytes()
public abstract ByteString getCredentialsBytes()Optional. Optional credentials.
string credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for credentials. |
getSchemes(int index)
public abstract String getSchemes(int index)Optional. Supported authentication schemes - e.g. Basic, Bearer, etc.
repeated string schemes = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The schemes at the given index. |
getSchemesBytes(int index)
public abstract ByteString getSchemesBytes(int index)Optional. Supported authentication schemes - e.g. Basic, Bearer, etc.
repeated string schemes = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the schemes at the given index. |
getSchemesCount()
public abstract int getSchemesCount()Optional. Supported authentication schemes - e.g. Basic, Bearer, etc.
repeated string schemes = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of schemes. |
getSchemesList()
public abstract List<String> getSchemesList()Optional. Supported authentication schemes - e.g. Basic, Bearer, etc.
repeated string schemes = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the schemes. |