Class GenerateAzureAccessTokenResponse.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateAzureAccessTokenResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateAzureAccessTokenResponse.Builder>
      • getDefaultInstanceForType

        public GenerateAzureAccessTokenResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public GenerateAzureAccessTokenResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public GenerateAzureAccessTokenResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateAzureAccessTokenResponse.Builder>
      • getAccessTokenBytes

        public com.google.protobuf.ByteString getAccessTokenBytes()
         Output only. Access token to authenticate to k8s api-server.
         
        string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getAccessTokenBytes in interface GenerateAzureAccessTokenResponseOrBuilder
        Returns:
        The bytes for accessToken.
      • setAccessToken

        public GenerateAzureAccessTokenResponse.Builder setAccessToken​(String value)
         Output only. Access token to authenticate to k8s api-server.
         
        string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The accessToken to set.
        Returns:
        This builder for chaining.
      • clearAccessToken

        public GenerateAzureAccessTokenResponse.Builder clearAccessToken()
         Output only. Access token to authenticate to k8s api-server.
         
        string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setAccessTokenBytes

        public GenerateAzureAccessTokenResponse.Builder setAccessTokenBytes​(com.google.protobuf.ByteString value)
         Output only. Access token to authenticate to k8s api-server.
         
        string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for accessToken to set.
        Returns:
        This builder for chaining.
      • hasExpirationTime

        public boolean hasExpirationTime()
         Output only. Timestamp at which the token will expire.
         
        .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasExpirationTime in interface GenerateAzureAccessTokenResponseOrBuilder
        Returns:
        Whether the expirationTime field is set.
      • getExpirationTime

        public com.google.protobuf.Timestamp getExpirationTime()
         Output only. Timestamp at which the token will expire.
         
        .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getExpirationTime in interface GenerateAzureAccessTokenResponseOrBuilder
        Returns:
        The expirationTime.
      • setExpirationTime

        public GenerateAzureAccessTokenResponse.Builder setExpirationTime​(com.google.protobuf.Timestamp value)
         Output only. Timestamp at which the token will expire.
         
        .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setExpirationTime

        public GenerateAzureAccessTokenResponse.Builder setExpirationTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. Timestamp at which the token will expire.
         
        .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeExpirationTime

        public GenerateAzureAccessTokenResponse.Builder mergeExpirationTime​(com.google.protobuf.Timestamp value)
         Output only. Timestamp at which the token will expire.
         
        .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearExpirationTime

        public GenerateAzureAccessTokenResponse.Builder clearExpirationTime()
         Output only. Timestamp at which the token will expire.
         
        .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getExpirationTimeBuilder

        public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder()
         Output only. Timestamp at which the token will expire.
         
        .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getExpirationTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()
         Output only. Timestamp at which the token will expire.
         
        .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getExpirationTimeOrBuilder in interface GenerateAzureAccessTokenResponseOrBuilder