Class CreateTrustConfigRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CreateTrustConfigRequest.Builder>
com.google.cloud.certificatemanager.v1.CreateTrustConfigRequest.Builder
All Implemented Interfaces:
CreateTrustConfigRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CreateTrustConfigRequest

public static final class CreateTrustConfigRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateTrustConfigRequest.Builder> implements CreateTrustConfigRequestOrBuilder
 Request for the `CreateTrustConfig` method.
 
Protobuf type google.cloud.certificatemanager.v1.CreateTrustConfigRequest
  • 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<CreateTrustConfigRequest.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<CreateTrustConfigRequest.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<CreateTrustConfigRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public String getParent()
       Required. The parent resource of the TrustConfig. Must be in the format
       `projects/*/locations/*`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateTrustConfigRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource of the TrustConfig. Must be in the format
       `projects/*/locations/*`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateTrustConfigRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateTrustConfigRequest.Builder setParent(String value)
       Required. The parent resource of the TrustConfig. Must be in the format
       `projects/*/locations/*`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public CreateTrustConfigRequest.Builder clearParent()
       Required. The parent resource of the TrustConfig. Must be in the format
       `projects/*/locations/*`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateTrustConfigRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent resource of the TrustConfig. Must be in the format
       `projects/*/locations/*`.
       
      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.
    • getTrustConfigId

      public String getTrustConfigId()
       Required. A user-provided name of the TrustConfig. Must match the regexp
       `[a-z0-9-]{1,63}`.
       
      string trust_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTrustConfigId in interface CreateTrustConfigRequestOrBuilder
      Returns:
      The trustConfigId.
    • getTrustConfigIdBytes

      public com.google.protobuf.ByteString getTrustConfigIdBytes()
       Required. A user-provided name of the TrustConfig. Must match the regexp
       `[a-z0-9-]{1,63}`.
       
      string trust_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTrustConfigIdBytes in interface CreateTrustConfigRequestOrBuilder
      Returns:
      The bytes for trustConfigId.
    • setTrustConfigId

      public CreateTrustConfigRequest.Builder setTrustConfigId(String value)
       Required. A user-provided name of the TrustConfig. Must match the regexp
       `[a-z0-9-]{1,63}`.
       
      string trust_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The trustConfigId to set.
      Returns:
      This builder for chaining.
    • clearTrustConfigId

      public CreateTrustConfigRequest.Builder clearTrustConfigId()
       Required. A user-provided name of the TrustConfig. Must match the regexp
       `[a-z0-9-]{1,63}`.
       
      string trust_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setTrustConfigIdBytes

      public CreateTrustConfigRequest.Builder setTrustConfigIdBytes(com.google.protobuf.ByteString value)
       Required. A user-provided name of the TrustConfig. Must match the regexp
       `[a-z0-9-]{1,63}`.
       
      string trust_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for trustConfigId to set.
      Returns:
      This builder for chaining.
    • hasTrustConfig

      public boolean hasTrustConfig()
       Required. A definition of the TrustConfig to create.
       
      .google.cloud.certificatemanager.v1.TrustConfig trust_config = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasTrustConfig in interface CreateTrustConfigRequestOrBuilder
      Returns:
      Whether the trustConfig field is set.
    • getTrustConfig

      public TrustConfig getTrustConfig()
       Required. A definition of the TrustConfig to create.
       
      .google.cloud.certificatemanager.v1.TrustConfig trust_config = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTrustConfig in interface CreateTrustConfigRequestOrBuilder
      Returns:
      The trustConfig.
    • setTrustConfig

      public CreateTrustConfigRequest.Builder setTrustConfig(TrustConfig value)
       Required. A definition of the TrustConfig to create.
       
      .google.cloud.certificatemanager.v1.TrustConfig trust_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • setTrustConfig

      public CreateTrustConfigRequest.Builder setTrustConfig(TrustConfig.Builder builderForValue)
       Required. A definition of the TrustConfig to create.
       
      .google.cloud.certificatemanager.v1.TrustConfig trust_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeTrustConfig

      public CreateTrustConfigRequest.Builder mergeTrustConfig(TrustConfig value)
       Required. A definition of the TrustConfig to create.
       
      .google.cloud.certificatemanager.v1.TrustConfig trust_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearTrustConfig

      public CreateTrustConfigRequest.Builder clearTrustConfig()
       Required. A definition of the TrustConfig to create.
       
      .google.cloud.certificatemanager.v1.TrustConfig trust_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • getTrustConfigBuilder

      public TrustConfig.Builder getTrustConfigBuilder()
       Required. A definition of the TrustConfig to create.
       
      .google.cloud.certificatemanager.v1.TrustConfig trust_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • getTrustConfigOrBuilder

      public TrustConfigOrBuilder getTrustConfigOrBuilder()
       Required. A definition of the TrustConfig to create.
       
      .google.cloud.certificatemanager.v1.TrustConfig trust_config = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTrustConfigOrBuilder in interface CreateTrustConfigRequestOrBuilder