public static final class GenerateAttachedClusterAgentTokenRequest.Builder extends GeneratedMessage.Builder<GenerateAttachedClusterAgentTokenRequest.Builder> implements GenerateAttachedClusterAgentTokenRequestOrBuilderProtobuf type google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GenerateAttachedClusterAgentTokenRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GenerateAttachedClusterAgentTokenRequest build()| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest |
|
buildPartial()
public GenerateAttachedClusterAgentTokenRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest |
|
clear()
public GenerateAttachedClusterAgentTokenRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
|
clearAttachedCluster()
public GenerateAttachedClusterAgentTokenRequest.Builder clearAttachedCluster()Required.
string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
clearAudience()
public GenerateAttachedClusterAgentTokenRequest.Builder clearAudience()Optional.
string audience = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
clearGrantType()
public GenerateAttachedClusterAgentTokenRequest.Builder clearGrantType()Optional.
string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
clearOptions()
public GenerateAttachedClusterAgentTokenRequest.Builder clearOptions()Optional.
string options = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
clearRequestedTokenType()
public GenerateAttachedClusterAgentTokenRequest.Builder clearRequestedTokenType()Optional.
string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
clearScope()
public GenerateAttachedClusterAgentTokenRequest.Builder clearScope()Optional.
string scope = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
clearSubjectToken()
public GenerateAttachedClusterAgentTokenRequest.Builder clearSubjectToken()Required.
string subject_token = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
clearSubjectTokenType()
public GenerateAttachedClusterAgentTokenRequest.Builder clearSubjectTokenType()Required.
string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
clearVersion()
public GenerateAttachedClusterAgentTokenRequest.Builder clearVersion()Required.
string version = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
getAttachedCluster()
public String getAttachedCluster()Required.
string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The attachedCluster. |
getAttachedClusterBytes()
public ByteString getAttachedClusterBytes()Required.
string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for attachedCluster. |
getAudience()
public String getAudience()Optional.
string audience = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The audience. |
getAudienceBytes()
public ByteString getAudienceBytes()Optional.
string audience = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for audience. |
getDefaultInstanceForType()
public GenerateAttachedClusterAgentTokenRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGrantType()
public String getGrantType()Optional.
string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The grantType. |
getGrantTypeBytes()
public ByteString getGrantTypeBytes()Optional.
string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for grantType. |
getOptions()
public String getOptions()Optional.
string options = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The options. |
getOptionsBytes()
public ByteString getOptionsBytes()Optional.
string options = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for options. |
getRequestedTokenType()
public String getRequestedTokenType()Optional.
string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The requestedTokenType. |
getRequestedTokenTypeBytes()
public ByteString getRequestedTokenTypeBytes()Optional.
string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for requestedTokenType. |
getScope()
public String getScope()Optional.
string scope = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The scope. |
getScopeBytes()
public ByteString getScopeBytes()Optional.
string scope = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for scope. |
getSubjectToken()
public String getSubjectToken()Required.
string subject_token = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The subjectToken. |
getSubjectTokenBytes()
public ByteString getSubjectTokenBytes()Required.
string subject_token = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for subjectToken. |
getSubjectTokenType()
public String getSubjectTokenType()Required.
string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The subjectTokenType. |
getSubjectTokenTypeBytes()
public ByteString getSubjectTokenTypeBytes()Required.
string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for subjectTokenType. |
getVersion()
public String getVersion()Required.
string version = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The version. |
getVersionBytes()
public ByteString getVersionBytes()Required.
string version = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for version. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GenerateAttachedClusterAgentTokenRequest other)
public GenerateAttachedClusterAgentTokenRequest.Builder mergeFrom(GenerateAttachedClusterAgentTokenRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GenerateAttachedClusterAgentTokenRequest |
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateAttachedClusterAgentTokenRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GenerateAttachedClusterAgentTokenRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
|
setAttachedCluster(String value)
public GenerateAttachedClusterAgentTokenRequest.Builder setAttachedCluster(String value)Required.
string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe attachedCluster to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
setAttachedClusterBytes(ByteString value)
public GenerateAttachedClusterAgentTokenRequest.Builder setAttachedClusterBytes(ByteString value)Required.
string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for attachedCluster to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
setAudience(String value)
public GenerateAttachedClusterAgentTokenRequest.Builder setAudience(String value)Optional.
string audience = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe audience to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
setAudienceBytes(ByteString value)
public GenerateAttachedClusterAgentTokenRequest.Builder setAudienceBytes(ByteString value)Optional.
string audience = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for audience to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
setGrantType(String value)
public GenerateAttachedClusterAgentTokenRequest.Builder setGrantType(String value)Optional.
string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe grantType to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
setGrantTypeBytes(ByteString value)
public GenerateAttachedClusterAgentTokenRequest.Builder setGrantTypeBytes(ByteString value)Optional.
string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for grantType to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
setOptions(String value)
public GenerateAttachedClusterAgentTokenRequest.Builder setOptions(String value)Optional.
string options = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe options to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
setOptionsBytes(ByteString value)
public GenerateAttachedClusterAgentTokenRequest.Builder setOptionsBytes(ByteString value)Optional.
string options = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for options to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
setRequestedTokenType(String value)
public GenerateAttachedClusterAgentTokenRequest.Builder setRequestedTokenType(String value)Optional.
string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe requestedTokenType to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
setRequestedTokenTypeBytes(ByteString value)
public GenerateAttachedClusterAgentTokenRequest.Builder setRequestedTokenTypeBytes(ByteString value)Optional.
string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for requestedTokenType to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
setScope(String value)
public GenerateAttachedClusterAgentTokenRequest.Builder setScope(String value)Optional.
string scope = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe scope to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
setScopeBytes(ByteString value)
public GenerateAttachedClusterAgentTokenRequest.Builder setScopeBytes(ByteString value)Optional.
string scope = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for scope to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
setSubjectToken(String value)
public GenerateAttachedClusterAgentTokenRequest.Builder setSubjectToken(String value)Required.
string subject_token = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe subjectToken to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
setSubjectTokenBytes(ByteString value)
public GenerateAttachedClusterAgentTokenRequest.Builder setSubjectTokenBytes(ByteString value)Required.
string subject_token = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for subjectToken to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
setSubjectTokenType(String value)
public GenerateAttachedClusterAgentTokenRequest.Builder setSubjectTokenType(String value)Required.
string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe subjectTokenType to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
setSubjectTokenTypeBytes(ByteString value)
public GenerateAttachedClusterAgentTokenRequest.Builder setSubjectTokenTypeBytes(ByteString value)Required.
string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for subjectTokenType to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
setVersion(String value)
public GenerateAttachedClusterAgentTokenRequest.Builder setVersion(String value)Required.
string version = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe version to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public GenerateAttachedClusterAgentTokenRequest.Builder setVersionBytes(ByteString value)Required.
string version = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for version to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenRequest.Builder |
This builder for chaining. |