public interface TwoLeggedOAuthOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getClientId()
public abstract String getClientId()Optional. The client ID of the OAuth client.
string client_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The clientId. |
getClientIdBytes()
public abstract ByteString getClientIdBytes()Optional. The client ID of the OAuth client.
string client_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for clientId. |
getClientSecret()
public abstract String getClientSecret()Optional. Input only. The client secret of the OAuth client.
string client_secret = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The clientSecret. |
getClientSecretBytes()
public abstract ByteString getClientSecretBytes()Optional. Input only. The client secret of the OAuth client.
string client_secret = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for clientSecret. |
getTokenUrl()
public abstract String getTokenUrl()Optional. The token endpoint of the OAuth client.
string token_url = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The tokenUrl. |
getTokenUrlBytes()
public abstract ByteString getTokenUrlBytes()Optional. The token endpoint of the OAuth client.
string token_url = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tokenUrl. |