public static final class MicrosoftOAuthClientCredentials.Builder extends GeneratedMessage.Builder<MicrosoftOAuthClientCredentials.Builder> implements MicrosoftOAuthClientCredentialsOrBuilderMicrosoft OAuth 2.0 client credentials grant.
Protobuf type google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MicrosoftOAuthClientCredentials.BuilderImplements
MicrosoftOAuthClientCredentialsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public MicrosoftOAuthClientCredentials build()| Returns | |
|---|---|
| Type | Description |
MicrosoftOAuthClientCredentials |
|
buildPartial()
public MicrosoftOAuthClientCredentials buildPartial()| Returns | |
|---|---|
| Type | Description |
MicrosoftOAuthClientCredentials |
|
clear()
public MicrosoftOAuthClientCredentials.Builder clear()| Returns | |
|---|---|
| Type | Description |
MicrosoftOAuthClientCredentials.Builder |
|
clearClientId()
public MicrosoftOAuthClientCredentials.Builder clearClientId()Client ID.
string client_id = 1;
| Returns | |
|---|---|
| Type | Description |
MicrosoftOAuthClientCredentials.Builder |
This builder for chaining. |
clearClientSecret()
public MicrosoftOAuthClientCredentials.Builder clearClientSecret()Client secret.
string client_secret = 2;
| Returns | |
|---|---|
| Type | Description |
MicrosoftOAuthClientCredentials.Builder |
This builder for chaining. |
getClientId()
public String getClientId()Client ID.
string client_id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The clientId. |
getClientIdBytes()
public ByteString getClientIdBytes()Client ID.
string client_id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for clientId. |
getClientSecret()
public String getClientSecret()Client secret.
string client_secret = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The clientSecret. |
getClientSecretBytes()
public ByteString getClientSecretBytes()Client secret.
string client_secret = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for clientSecret. |
getDefaultInstanceForType()
public MicrosoftOAuthClientCredentials getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MicrosoftOAuthClientCredentials |
|
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(MicrosoftOAuthClientCredentials other)
public MicrosoftOAuthClientCredentials.Builder mergeFrom(MicrosoftOAuthClientCredentials other)| Parameter | |
|---|---|
| Name | Description |
other |
MicrosoftOAuthClientCredentials |
| Returns | |
|---|---|
| Type | Description |
MicrosoftOAuthClientCredentials.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MicrosoftOAuthClientCredentials.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MicrosoftOAuthClientCredentials.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MicrosoftOAuthClientCredentials.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MicrosoftOAuthClientCredentials.Builder |
|
setClientId(String value)
public MicrosoftOAuthClientCredentials.Builder setClientId(String value)Client ID.
string client_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe clientId to set. |
| Returns | |
|---|---|
| Type | Description |
MicrosoftOAuthClientCredentials.Builder |
This builder for chaining. |
setClientIdBytes(ByteString value)
public MicrosoftOAuthClientCredentials.Builder setClientIdBytes(ByteString value)Client ID.
string client_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for clientId to set. |
| Returns | |
|---|---|
| Type | Description |
MicrosoftOAuthClientCredentials.Builder |
This builder for chaining. |
setClientSecret(String value)
public MicrosoftOAuthClientCredentials.Builder setClientSecret(String value)Client secret.
string client_secret = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe clientSecret to set. |
| Returns | |
|---|---|
| Type | Description |
MicrosoftOAuthClientCredentials.Builder |
This builder for chaining. |
setClientSecretBytes(ByteString value)
public MicrosoftOAuthClientCredentials.Builder setClientSecretBytes(ByteString value)Client secret.
string client_secret = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for clientSecret to set. |
| Returns | |
|---|---|
| Type | Description |
MicrosoftOAuthClientCredentials.Builder |
This builder for chaining. |