Interface GenerateAccessTokenRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GenerateAccessTokenRequest, GenerateAccessTokenRequest.Builder

@Generated public interface GenerateAccessTokenRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
     
    com.google.protobuf.Timestamp
    Desired expiration time of the access token.
    com.google.protobuf.TimestampOrBuilder
    Desired expiration time of the access token.
    com.google.protobuf.Duration
    Desired lifetime duration of the access token.
    com.google.protobuf.DurationOrBuilder
    Desired lifetime duration of the access token.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    Desired expiration time of the access token.
    boolean
    Desired lifetime duration of the access token.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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