public static final class MimecastV2OAuthClientCredentials.Builder extends GeneratedMessage.Builder<MimecastV2OAuthClientCredentials.Builder> implements MimecastV2OAuthClientCredentialsOrBuilderOAuth 2.0 client credentials grant. See https://tools.ietf.org/html/rfc6749.
Protobuf type google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MimecastV2OAuthClientCredentials.BuilderImplements
MimecastV2OAuthClientCredentialsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public MimecastV2OAuthClientCredentials build()| Returns | |
|---|---|
| Type | Description |
MimecastV2OAuthClientCredentials |
|
buildPartial()
public MimecastV2OAuthClientCredentials buildPartial()| Returns | |
|---|---|
| Type | Description |
MimecastV2OAuthClientCredentials |
|
clear()
public MimecastV2OAuthClientCredentials.Builder clear()| Returns | |
|---|---|
| Type | Description |
MimecastV2OAuthClientCredentials.Builder |
|
clearClientId()
public MimecastV2OAuthClientCredentials.Builder clearClientId()Required. Client ID.
string client_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
MimecastV2OAuthClientCredentials.Builder |
This builder for chaining. |
clearClientSecret()
public MimecastV2OAuthClientCredentials.Builder clearClientSecret()Required. Client Secret.
string client_secret = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
MimecastV2OAuthClientCredentials.Builder |
This builder for chaining. |
getClientId()
public String getClientId()Required. Client ID.
string client_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The clientId. |
getClientIdBytes()
public ByteString getClientIdBytes()Required. Client ID.
string client_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for clientId. |
getClientSecret()
public String getClientSecret()Required. Client Secret.
string client_secret = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The clientSecret. |
getClientSecretBytes()
public ByteString getClientSecretBytes()Required. Client Secret.
string client_secret = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for clientSecret. |
getDefaultInstanceForType()
public MimecastV2OAuthClientCredentials getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MimecastV2OAuthClientCredentials |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(MimecastV2OAuthClientCredentials other)
public MimecastV2OAuthClientCredentials.Builder mergeFrom(MimecastV2OAuthClientCredentials other)| Parameter | |
|---|---|
| Name | Description |
other |
MimecastV2OAuthClientCredentials |
| Returns | |
|---|---|
| Type | Description |
MimecastV2OAuthClientCredentials.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MimecastV2OAuthClientCredentials.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MimecastV2OAuthClientCredentials.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MimecastV2OAuthClientCredentials.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MimecastV2OAuthClientCredentials.Builder |
|
setClientId(String value)
public MimecastV2OAuthClientCredentials.Builder setClientId(String value)Required. Client ID.
string client_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe clientId to set. |
| Returns | |
|---|---|
| Type | Description |
MimecastV2OAuthClientCredentials.Builder |
This builder for chaining. |
setClientIdBytes(ByteString value)
public MimecastV2OAuthClientCredentials.Builder setClientIdBytes(ByteString value)Required. Client ID.
string client_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for clientId to set. |
| Returns | |
|---|---|
| Type | Description |
MimecastV2OAuthClientCredentials.Builder |
This builder for chaining. |
setClientSecret(String value)
public MimecastV2OAuthClientCredentials.Builder setClientSecret(String value)Required. Client Secret.
string client_secret = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe clientSecret to set. |
| Returns | |
|---|---|
| Type | Description |
MimecastV2OAuthClientCredentials.Builder |
This builder for chaining. |
setClientSecretBytes(ByteString value)
public MimecastV2OAuthClientCredentials.Builder setClientSecretBytes(ByteString value)Required. Client Secret.
string client_secret = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for clientSecret to set. |
| Returns | |
|---|---|
| Type | Description |
MimecastV2OAuthClientCredentials.Builder |
This builder for chaining. |