Interface GenerateAccessTokenRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GenerateAccessTokenRequest,GenerateAccessTokenRequest.Builder
public interface GenerateAccessTokenRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GenerateAccessTokenRequest.ExpirationCasegetExpirationCase()com.google.protobuf.TimestampgetExpireTime()Desired expiration time of the access token.com.google.protobuf.TimestampOrBuildergetExpireTimeOrBuilder()Desired expiration time of the access token.com.google.protobuf.DurationgetTtl()Desired lifetime duration of the access token.com.google.protobuf.DurationOrBuildergetTtlOrBuilder()Desired lifetime duration of the access token.StringgetWorkstation()Required.com.google.protobuf.ByteStringgetWorkstationBytes()Required.booleanhasExpireTime()Desired expiration time of the access token.booleanhasTtl()Desired lifetime duration of the access token.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasExpireTime
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:
- Whether the expireTime field is set.
-
getExpireTime
com.google.protobuf.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:
- The expireTime.
-
getExpireTimeOrBuilder
com.google.protobuf.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;
-
hasTtl
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:
- Whether the ttl field is set.
-
getTtl
com.google.protobuf.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:
- The ttl.
-
getTtlOrBuilder
com.google.protobuf.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;
-
getWorkstation
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:
- The workstation.
-
getWorkstationBytes
com.google.protobuf.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:
- The bytes for workstation.
-
getExpirationCase
GenerateAccessTokenRequest.ExpirationCase getExpirationCase()
-
-