Class CreateDnsAuthorizationRequest.Builder

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

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

      public CreateDnsAuthorizationRequest 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 CreateDnsAuthorizationRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

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

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

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

       Required. The parent resource of the dns authorization. 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

       Required. The parent resource of the dns authorization. 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 CreateDnsAuthorizationRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent resource of the dns authorization. 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.
    • getDnsAuthorizationId

      public String getDnsAuthorizationId()
       Required. A user-provided name of the dns authorization.
       
      string dns_authorization_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDnsAuthorizationId in interface CreateDnsAuthorizationRequestOrBuilder
      Returns:
      The dnsAuthorizationId.
    • getDnsAuthorizationIdBytes

      public com.google.protobuf.ByteString getDnsAuthorizationIdBytes()
       Required. A user-provided name of the dns authorization.
       
      string dns_authorization_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDnsAuthorizationIdBytes in interface CreateDnsAuthorizationRequestOrBuilder
      Returns:
      The bytes for dnsAuthorizationId.
    • setDnsAuthorizationId

      public CreateDnsAuthorizationRequest.Builder setDnsAuthorizationId(String value)
       Required. A user-provided name of the dns authorization.
       
      string dns_authorization_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The dnsAuthorizationId to set.
      Returns:
      This builder for chaining.
    • clearDnsAuthorizationId

      public CreateDnsAuthorizationRequest.Builder clearDnsAuthorizationId()
       Required. A user-provided name of the dns authorization.
       
      string dns_authorization_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDnsAuthorizationIdBytes

      public CreateDnsAuthorizationRequest.Builder setDnsAuthorizationIdBytes(com.google.protobuf.ByteString value)
       Required. A user-provided name of the dns authorization.
       
      string dns_authorization_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for dnsAuthorizationId to set.
      Returns:
      This builder for chaining.
    • hasDnsAuthorization

      public boolean hasDnsAuthorization()
       Required. A definition of the dns authorization to create.
       
      .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasDnsAuthorization in interface CreateDnsAuthorizationRequestOrBuilder
      Returns:
      Whether the dnsAuthorization field is set.
    • getDnsAuthorization

      public DnsAuthorization getDnsAuthorization()
       Required. A definition of the dns authorization to create.
       
      .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDnsAuthorization in interface CreateDnsAuthorizationRequestOrBuilder
      Returns:
      The dnsAuthorization.
    • setDnsAuthorization

      public CreateDnsAuthorizationRequest.Builder setDnsAuthorization(DnsAuthorization value)
       Required. A definition of the dns authorization to create.
       
      .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED];
    • setDnsAuthorization

      public CreateDnsAuthorizationRequest.Builder setDnsAuthorization(DnsAuthorization.Builder builderForValue)
       Required. A definition of the dns authorization to create.
       
      .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeDnsAuthorization

      public CreateDnsAuthorizationRequest.Builder mergeDnsAuthorization(DnsAuthorization value)
       Required. A definition of the dns authorization to create.
       
      .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearDnsAuthorization

      public CreateDnsAuthorizationRequest.Builder clearDnsAuthorization()
       Required. A definition of the dns authorization to create.
       
      .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED];
    • getDnsAuthorizationBuilder

      public DnsAuthorization.Builder getDnsAuthorizationBuilder()
       Required. A definition of the dns authorization to create.
       
      .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED];
    • getDnsAuthorizationOrBuilder

      public DnsAuthorizationOrBuilder getDnsAuthorizationOrBuilder()
       Required. A definition of the dns authorization to create.
       
      .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDnsAuthorizationOrBuilder in interface CreateDnsAuthorizationRequestOrBuilder