- 0.73.0 (latest)
- 0.71.0
- 0.70.0
- 0.68.0
- 0.66.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.61.0
- 0.60.0
- 0.58.0
- 0.56.0
- 0.55.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class GenerateAccessTokenRequest.Builder extends GeneratedMessage.Builder<GenerateAccessTokenRequest.Builder> implements GenerateAccessTokenRequestOrBuilderRequest message for GenerateAccessToken.
Protobuf type google.cloud.workstations.v1beta.GenerateAccessTokenRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GenerateAccessTokenRequest.BuilderImplements
GenerateAccessTokenRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GenerateAccessTokenRequest build()| Returns | |
|---|---|
| Type | Description |
GenerateAccessTokenRequest |
|
buildPartial()
public GenerateAccessTokenRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GenerateAccessTokenRequest |
|
clear()
public GenerateAccessTokenRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GenerateAccessTokenRequest.Builder |
|
clearExpiration()
public GenerateAccessTokenRequest.Builder clearExpiration()| Returns | |
|---|---|
| Type | Description |
GenerateAccessTokenRequest.Builder |
|
clearExpireTime()
public GenerateAccessTokenRequest.Builder clearExpireTime()Desired expiration time of the access token. This value must be at most 24 hours in the future. If a value is not specified, the token's expiration time will be set to a default value of 1 hour in the future.
.google.protobuf.Timestamp expire_time = 2;
| Returns | |
|---|---|
| Type | Description |
GenerateAccessTokenRequest.Builder |
|
clearTtl()
public GenerateAccessTokenRequest.Builder clearTtl()Desired lifetime duration of the access token. This value must be at most 24 hours. If a value is not specified, the token's lifetime will be set to a default value of 1 hour.
.google.protobuf.Duration ttl = 3;
| Returns | |
|---|---|
| Type | Description |
GenerateAccessTokenRequest.Builder |
|
clearWorkstation()
public GenerateAccessTokenRequest.Builder clearWorkstation()Required. Name of the workstation for which the access token should be generated.
string workstation = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
GenerateAccessTokenRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GenerateAccessTokenRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GenerateAccessTokenRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExpirationCase()
public GenerateAccessTokenRequest.ExpirationCase getExpirationCase()| Returns | |
|---|---|
| Type | Description |
GenerateAccessTokenRequest.ExpirationCase |
|
getExpireTime()
public Timestamp getExpireTime()Desired expiration time of the access token. This value must be at most 24 hours in the future. If a value is not specified, the token's expiration time will be set to a default value of 1 hour in the future.
.google.protobuf.Timestamp expire_time = 2;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The expireTime. |
getExpireTimeBuilder()
public Timestamp.Builder getExpireTimeBuilder()Desired expiration time of the access token. This value must be at most 24 hours in the future. If a value is not specified, the token's expiration time will be set to a default value of 1 hour in the future.
.google.protobuf.Timestamp expire_time = 2;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getExpireTimeOrBuilder()
public TimestampOrBuilder getExpireTimeOrBuilder()Desired expiration time of the access token. This value must be at most 24 hours in the future. If a value is not specified, the token's expiration time will be set to a default value of 1 hour in the future.
.google.protobuf.Timestamp expire_time = 2;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getTtl()
public Duration getTtl()Desired lifetime duration of the access token. This value must be at most 24 hours. If a value is not specified, the token's lifetime will be set to a default value of 1 hour.
.google.protobuf.Duration ttl = 3;
| Returns | |
|---|---|
| Type | Description |
Duration |
The ttl. |
getTtlBuilder()
public Duration.Builder getTtlBuilder()Desired lifetime duration of the access token. This value must be at most 24 hours. If a value is not specified, the token's lifetime will be set to a default value of 1 hour.
.google.protobuf.Duration ttl = 3;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getTtlOrBuilder()
public DurationOrBuilder getTtlOrBuilder()Desired lifetime duration of the access token. This value must be at most 24 hours. If a value is not specified, the token's lifetime will be set to a default value of 1 hour.
.google.protobuf.Duration ttl = 3;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getWorkstation()
public String getWorkstation()Required. Name of the workstation for which the access token should be generated.
string workstation = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The workstation. |
getWorkstationBytes()
public ByteString getWorkstationBytes()Required. Name of the workstation for which the access token should be generated.
string workstation = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for workstation. |
hasExpireTime()
public boolean hasExpireTime()Desired expiration time of the access token. This value must be at most 24 hours in the future. If a value is not specified, the token's expiration time will be set to a default value of 1 hour in the future.
.google.protobuf.Timestamp expire_time = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the expireTime field is set. |
hasTtl()
public boolean hasTtl()Desired lifetime duration of the access token. This value must be at most 24 hours. If a value is not specified, the token's lifetime will be set to a default value of 1 hour.
.google.protobuf.Duration ttl = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the ttl field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeExpireTime(Timestamp value)
public GenerateAccessTokenRequest.Builder mergeExpireTime(Timestamp value)Desired expiration time of the access token. This value must be at most 24 hours in the future. If a value is not specified, the token's expiration time will be set to a default value of 1 hour in the future.
.google.protobuf.Timestamp expire_time = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
GenerateAccessTokenRequest.Builder |
|
mergeFrom(GenerateAccessTokenRequest other)
public GenerateAccessTokenRequest.Builder mergeFrom(GenerateAccessTokenRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GenerateAccessTokenRequest |
| Returns | |
|---|---|
| Type | Description |
GenerateAccessTokenRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateAccessTokenRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateAccessTokenRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GenerateAccessTokenRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GenerateAccessTokenRequest.Builder |
|
mergeTtl(Duration value)
public GenerateAccessTokenRequest.Builder mergeTtl(Duration value)Desired lifetime duration of the access token. This value must be at most 24 hours. If a value is not specified, the token's lifetime will be set to a default value of 1 hour.
.google.protobuf.Duration ttl = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
GenerateAccessTokenRequest.Builder |
|
setExpireTime(Timestamp value)
public GenerateAccessTokenRequest.Builder setExpireTime(Timestamp value)Desired expiration time of the access token. This value must be at most 24 hours in the future. If a value is not specified, the token's expiration time will be set to a default value of 1 hour in the future.
.google.protobuf.Timestamp expire_time = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
GenerateAccessTokenRequest.Builder |
|
setExpireTime(Timestamp.Builder builderForValue)
public GenerateAccessTokenRequest.Builder setExpireTime(Timestamp.Builder builderForValue)Desired expiration time of the access token. This value must be at most 24 hours in the future. If a value is not specified, the token's expiration time will be set to a default value of 1 hour in the future.
.google.protobuf.Timestamp expire_time = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
GenerateAccessTokenRequest.Builder |
|
setTtl(Duration value)
public GenerateAccessTokenRequest.Builder setTtl(Duration value)Desired lifetime duration of the access token. This value must be at most 24 hours. If a value is not specified, the token's lifetime will be set to a default value of 1 hour.
.google.protobuf.Duration ttl = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
GenerateAccessTokenRequest.Builder |
|
setTtl(Duration.Builder builderForValue)
public GenerateAccessTokenRequest.Builder setTtl(Duration.Builder builderForValue)Desired lifetime duration of the access token. This value must be at most 24 hours. If a value is not specified, the token's lifetime will be set to a default value of 1 hour.
.google.protobuf.Duration ttl = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
GenerateAccessTokenRequest.Builder |
|
setWorkstation(String value)
public GenerateAccessTokenRequest.Builder setWorkstation(String value)Required. Name of the workstation for which the access token should be generated.
string workstation = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe workstation to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAccessTokenRequest.Builder |
This builder for chaining. |
setWorkstationBytes(ByteString value)
public GenerateAccessTokenRequest.Builder setWorkstationBytes(ByteString value)Required. Name of the workstation for which the access token should be generated.
string workstation = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for workstation to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAccessTokenRequest.Builder |
This builder for chaining. |