Class CreateExternalAccountKeyRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CreateExternalAccountKeyRequest.Builder>
com.google.cloud.security.publicca.v1beta1.CreateExternalAccountKeyRequest.Builder
All Implemented Interfaces:
CreateExternalAccountKeyRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CreateExternalAccountKeyRequest

public static final class CreateExternalAccountKeyRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateExternalAccountKeyRequest.Builder> implements CreateExternalAccountKeyRequestOrBuilder
 Creates a new
 [ExternalAccountKey][google.cloud.security.publicca.v1beta1.ExternalAccountKey]
 in a given project.
 
Protobuf type google.cloud.security.publicca.v1beta1.CreateExternalAccountKeyRequest
  • 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<CreateExternalAccountKeyRequest.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<CreateExternalAccountKeyRequest.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<CreateExternalAccountKeyRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public CreateExternalAccountKeyRequest.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<CreateExternalAccountKeyRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public CreateExternalAccountKeyRequest.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<CreateExternalAccountKeyRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The parent resource where this external_account_key will be
       created. Format: projects/[project_id]/locations/[location]. At present
       only the "global" location is supported.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateExternalAccountKeyRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource where this external_account_key will be
       created. Format: projects/[project_id]/locations/[location]. At present
       only the "global" location is supported.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateExternalAccountKeyRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. The parent resource where this external_account_key will be
       created. Format: projects/[project_id]/locations/[location]. At present
       only the "global" location is supported.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

       Required. The parent resource where this external_account_key will be
       created. Format: projects/[project_id]/locations/[location]. At present
       only the "global" location is supported.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateExternalAccountKeyRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent resource where this external_account_key will be
       created. Format: projects/[project_id]/locations/[location]. At present
       only the "global" location is supported.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • hasExternalAccountKey

      public boolean hasExternalAccountKey()
       Required. The external account key to create. This field only exists to
       future-proof the API. At present, all fields in ExternalAccountKey are
       output only and all values are ignored. For the purpose of the
       CreateExternalAccountKeyRequest, set it to a default/empty value.
       
      .google.cloud.security.publicca.v1beta1.ExternalAccountKey external_account_key = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasExternalAccountKey in interface CreateExternalAccountKeyRequestOrBuilder
      Returns:
      Whether the externalAccountKey field is set.
    • getExternalAccountKey

      public ExternalAccountKey getExternalAccountKey()
       Required. The external account key to create. This field only exists to
       future-proof the API. At present, all fields in ExternalAccountKey are
       output only and all values are ignored. For the purpose of the
       CreateExternalAccountKeyRequest, set it to a default/empty value.
       
      .google.cloud.security.publicca.v1beta1.ExternalAccountKey external_account_key = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getExternalAccountKey in interface CreateExternalAccountKeyRequestOrBuilder
      Returns:
      The externalAccountKey.
    • setExternalAccountKey

      public CreateExternalAccountKeyRequest.Builder setExternalAccountKey(ExternalAccountKey value)
       Required. The external account key to create. This field only exists to
       future-proof the API. At present, all fields in ExternalAccountKey are
       output only and all values are ignored. For the purpose of the
       CreateExternalAccountKeyRequest, set it to a default/empty value.
       
      .google.cloud.security.publicca.v1beta1.ExternalAccountKey external_account_key = 2 [(.google.api.field_behavior) = REQUIRED];
    • setExternalAccountKey

      public CreateExternalAccountKeyRequest.Builder setExternalAccountKey(ExternalAccountKey.Builder builderForValue)
       Required. The external account key to create. This field only exists to
       future-proof the API. At present, all fields in ExternalAccountKey are
       output only and all values are ignored. For the purpose of the
       CreateExternalAccountKeyRequest, set it to a default/empty value.
       
      .google.cloud.security.publicca.v1beta1.ExternalAccountKey external_account_key = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeExternalAccountKey

      public CreateExternalAccountKeyRequest.Builder mergeExternalAccountKey(ExternalAccountKey value)
       Required. The external account key to create. This field only exists to
       future-proof the API. At present, all fields in ExternalAccountKey are
       output only and all values are ignored. For the purpose of the
       CreateExternalAccountKeyRequest, set it to a default/empty value.
       
      .google.cloud.security.publicca.v1beta1.ExternalAccountKey external_account_key = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearExternalAccountKey

      public CreateExternalAccountKeyRequest.Builder clearExternalAccountKey()
       Required. The external account key to create. This field only exists to
       future-proof the API. At present, all fields in ExternalAccountKey are
       output only and all values are ignored. For the purpose of the
       CreateExternalAccountKeyRequest, set it to a default/empty value.
       
      .google.cloud.security.publicca.v1beta1.ExternalAccountKey external_account_key = 2 [(.google.api.field_behavior) = REQUIRED];
    • getExternalAccountKeyBuilder

      public ExternalAccountKey.Builder getExternalAccountKeyBuilder()
       Required. The external account key to create. This field only exists to
       future-proof the API. At present, all fields in ExternalAccountKey are
       output only and all values are ignored. For the purpose of the
       CreateExternalAccountKeyRequest, set it to a default/empty value.
       
      .google.cloud.security.publicca.v1beta1.ExternalAccountKey external_account_key = 2 [(.google.api.field_behavior) = REQUIRED];
    • getExternalAccountKeyOrBuilder

      public ExternalAccountKeyOrBuilder getExternalAccountKeyOrBuilder()
       Required. The external account key to create. This field only exists to
       future-proof the API. At present, all fields in ExternalAccountKey are
       output only and all values are ignored. For the purpose of the
       CreateExternalAccountKeyRequest, set it to a default/empty value.
       
      .google.cloud.security.publicca.v1beta1.ExternalAccountKey external_account_key = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getExternalAccountKeyOrBuilder in interface CreateExternalAccountKeyRequestOrBuilder