Class SignJwtRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SignJwtRequest.Builder>
com.google.iam.admin.v1.SignJwtRequest.Builder
All Implemented Interfaces:
SignJwtRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SignJwtRequest

public static final class SignJwtRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<SignJwtRequest.Builder> implements SignJwtRequestOrBuilder
 Deprecated. [Migrate to Service Account Credentials
 API](https://cloud.google.com/iam/help/credentials/migrate-api).

 The service account sign JWT request.
 
Protobuf type google.iam.admin.v1.SignJwtRequest
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Deprecated.
    google.iam.admin.v1.SignJwtRequest.name is deprecated.
    Deprecated.
    google.iam.admin.v1.SignJwtRequest.payload is deprecated.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    Deprecated.
    google.iam.admin.v1.SignJwtRequest.name is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    google.iam.admin.v1.SignJwtRequest.name is deprecated.
    Deprecated.
    google.iam.admin.v1.SignJwtRequest.payload is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    google.iam.admin.v1.SignJwtRequest.payload is deprecated.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    setName(String value)
    Deprecated.
    google.iam.admin.v1.SignJwtRequest.name is deprecated.
    setNameBytes(com.google.protobuf.ByteString value)
    Deprecated.
    google.iam.admin.v1.SignJwtRequest.name is deprecated.
    Deprecated.
    google.iam.admin.v1.SignJwtRequest.payload is deprecated.
    setPayloadBytes(com.google.protobuf.ByteString value)
    Deprecated.
    google.iam.admin.v1.SignJwtRequest.payload is deprecated.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

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

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SignJwtRequest.Builder>
    • clear

      public SignJwtRequest.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<SignJwtRequest.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.GeneratedMessage.Builder<SignJwtRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public SignJwtRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SignJwtRequest.Builder>
    • mergeFrom

      public SignJwtRequest.Builder mergeFrom(SignJwtRequest other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<SignJwtRequest.Builder>
    • mergeFrom

      public SignJwtRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SignJwtRequest.Builder>
      Throws:
      IOException
    • getName

      @Deprecated public String getName()
      Deprecated.
      google.iam.admin.v1.SignJwtRequest.name is deprecated. See google/iam/admin/v1/iam.proto;l=1023
       Required. Deprecated. [Migrate to Service Account Credentials
       API](https://cloud.google.com/iam/help/credentials/migrate-api).
      
       The resource name of the service account in the following format:
       `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
       Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
       the account. The `ACCOUNT` value can be the `email` address or the
       `unique_id` of the service account.
       
      string name = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface SignJwtRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      @Deprecated public com.google.protobuf.ByteString getNameBytes()
      Deprecated.
      google.iam.admin.v1.SignJwtRequest.name is deprecated. See google/iam/admin/v1/iam.proto;l=1023
       Required. Deprecated. [Migrate to Service Account Credentials
       API](https://cloud.google.com/iam/help/credentials/migrate-api).
      
       The resource name of the service account in the following format:
       `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
       Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
       the account. The `ACCOUNT` value can be the `email` address or the
       `unique_id` of the service account.
       
      string name = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface SignJwtRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      @Deprecated public SignJwtRequest.Builder setName(String value)
      Deprecated.
      google.iam.admin.v1.SignJwtRequest.name is deprecated. See google/iam/admin/v1/iam.proto;l=1023
       Required. Deprecated. [Migrate to Service Account Credentials
       API](https://cloud.google.com/iam/help/credentials/migrate-api).
      
       The resource name of the service account in the following format:
       `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
       Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
       the account. The `ACCOUNT` value can be the `email` address or the
       `unique_id` of the service account.
       
      string name = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      @Deprecated public SignJwtRequest.Builder clearName()
      Deprecated.
      google.iam.admin.v1.SignJwtRequest.name is deprecated. See google/iam/admin/v1/iam.proto;l=1023
       Required. Deprecated. [Migrate to Service Account Credentials
       API](https://cloud.google.com/iam/help/credentials/migrate-api).
      
       The resource name of the service account in the following format:
       `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
       Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
       the account. The `ACCOUNT` value can be the `email` address or the
       `unique_id` of the service account.
       
      string name = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      @Deprecated public SignJwtRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
      Deprecated.
      google.iam.admin.v1.SignJwtRequest.name is deprecated. See google/iam/admin/v1/iam.proto;l=1023
       Required. Deprecated. [Migrate to Service Account Credentials
       API](https://cloud.google.com/iam/help/credentials/migrate-api).
      
       The resource name of the service account in the following format:
       `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
       Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
       the account. The `ACCOUNT` value can be the `email` address or the
       `unique_id` of the service account.
       
      string name = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getPayload

      @Deprecated public String getPayload()
      Deprecated.
      google.iam.admin.v1.SignJwtRequest.payload is deprecated. See google/iam/admin/v1/iam.proto;l=1044
       Required. Deprecated. [Migrate to Service Account Credentials
       API](https://cloud.google.com/iam/help/credentials/migrate-api).
      
       The JWT payload to sign. Must be a serialized JSON object that contains a
       JWT Claims Set. For example: `{"sub": "user@example.com", "iat": 313435}`
      
       If the JWT Claims Set contains an expiration time (`exp`) claim, it must be
       an integer timestamp that is not in the past and no more than 12 hours in
       the future.
      
       If the JWT Claims Set does not contain an expiration time (`exp`) claim,
       this claim is added automatically, with a timestamp that is 1 hour in the
       future.
       
      string payload = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPayload in interface SignJwtRequestOrBuilder
      Returns:
      The payload.
    • getPayloadBytes

      @Deprecated public com.google.protobuf.ByteString getPayloadBytes()
      Deprecated.
      google.iam.admin.v1.SignJwtRequest.payload is deprecated. See google/iam/admin/v1/iam.proto;l=1044
       Required. Deprecated. [Migrate to Service Account Credentials
       API](https://cloud.google.com/iam/help/credentials/migrate-api).
      
       The JWT payload to sign. Must be a serialized JSON object that contains a
       JWT Claims Set. For example: `{"sub": "user@example.com", "iat": 313435}`
      
       If the JWT Claims Set contains an expiration time (`exp`) claim, it must be
       an integer timestamp that is not in the past and no more than 12 hours in
       the future.
      
       If the JWT Claims Set does not contain an expiration time (`exp`) claim,
       this claim is added automatically, with a timestamp that is 1 hour in the
       future.
       
      string payload = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPayloadBytes in interface SignJwtRequestOrBuilder
      Returns:
      The bytes for payload.
    • setPayload

      @Deprecated public SignJwtRequest.Builder setPayload(String value)
      Deprecated.
      google.iam.admin.v1.SignJwtRequest.payload is deprecated. See google/iam/admin/v1/iam.proto;l=1044
       Required. Deprecated. [Migrate to Service Account Credentials
       API](https://cloud.google.com/iam/help/credentials/migrate-api).
      
       The JWT payload to sign. Must be a serialized JSON object that contains a
       JWT Claims Set. For example: `{"sub": "user@example.com", "iat": 313435}`
      
       If the JWT Claims Set contains an expiration time (`exp`) claim, it must be
       an integer timestamp that is not in the past and no more than 12 hours in
       the future.
      
       If the JWT Claims Set does not contain an expiration time (`exp`) claim,
       this claim is added automatically, with a timestamp that is 1 hour in the
       future.
       
      string payload = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The payload to set.
      Returns:
      This builder for chaining.
    • clearPayload

      @Deprecated public SignJwtRequest.Builder clearPayload()
      Deprecated.
      google.iam.admin.v1.SignJwtRequest.payload is deprecated. See google/iam/admin/v1/iam.proto;l=1044
       Required. Deprecated. [Migrate to Service Account Credentials
       API](https://cloud.google.com/iam/help/credentials/migrate-api).
      
       The JWT payload to sign. Must be a serialized JSON object that contains a
       JWT Claims Set. For example: `{"sub": "user@example.com", "iat": 313435}`
      
       If the JWT Claims Set contains an expiration time (`exp`) claim, it must be
       an integer timestamp that is not in the past and no more than 12 hours in
       the future.
      
       If the JWT Claims Set does not contain an expiration time (`exp`) claim,
       this claim is added automatically, with a timestamp that is 1 hour in the
       future.
       
      string payload = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setPayloadBytes

      @Deprecated public SignJwtRequest.Builder setPayloadBytes(com.google.protobuf.ByteString value)
      Deprecated.
      google.iam.admin.v1.SignJwtRequest.payload is deprecated. See google/iam/admin/v1/iam.proto;l=1044
       Required. Deprecated. [Migrate to Service Account Credentials
       API](https://cloud.google.com/iam/help/credentials/migrate-api).
      
       The JWT payload to sign. Must be a serialized JSON object that contains a
       JWT Claims Set. For example: `{"sub": "user@example.com", "iat": 313435}`
      
       If the JWT Claims Set contains an expiration time (`exp`) claim, it must be
       an integer timestamp that is not in the past and no more than 12 hours in
       the future.
      
       If the JWT Claims Set does not contain an expiration time (`exp`) claim,
       this claim is added automatically, with a timestamp that is 1 hour in the
       future.
       
      string payload = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for payload to set.
      Returns:
      This builder for chaining.