Class DnsAuthorization.DnsResourceRecord.Builder

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

public static final class DnsAuthorization.DnsResourceRecord.Builder extends com.google.protobuf.GeneratedMessage.Builder<DnsAuthorization.DnsResourceRecord.Builder> implements DnsAuthorization.DnsResourceRecordOrBuilder
 The structure describing the DNS Resource Record that needs to be added
 to DNS configuration for the authorization to be usable by
 certificate.
 
Protobuf type google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord
  • 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<DnsAuthorization.DnsResourceRecord.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<DnsAuthorization.DnsResourceRecord.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<DnsAuthorization.DnsResourceRecord.Builder>
    • getDefaultInstanceForType

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

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

      public DnsAuthorization.DnsResourceRecord.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<DnsAuthorization.DnsResourceRecord.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Output only. Fully qualified name of the DNS Resource Record.
       e.g. `_acme-challenge.example.com`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface DnsAuthorization.DnsResourceRecordOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. Fully qualified name of the DNS Resource Record.
       e.g. `_acme-challenge.example.com`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface DnsAuthorization.DnsResourceRecordOrBuilder
      Returns:
      The bytes for name.
    • setName

       Output only. Fully qualified name of the DNS Resource Record.
       e.g. `_acme-challenge.example.com`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Output only. Fully qualified name of the DNS Resource Record.
       e.g. `_acme-challenge.example.com`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public DnsAuthorization.DnsResourceRecord.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. Fully qualified name of the DNS Resource Record.
       e.g. `_acme-challenge.example.com`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getType

      public String getType()
       Output only. Type of the DNS Resource Record.
       Currently always set to "CNAME".
       
      string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getType in interface DnsAuthorization.DnsResourceRecordOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       Output only. Type of the DNS Resource Record.
       Currently always set to "CNAME".
       
      string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTypeBytes in interface DnsAuthorization.DnsResourceRecordOrBuilder
      Returns:
      The bytes for type.
    • setType

       Output only. Type of the DNS Resource Record.
       Currently always set to "CNAME".
       
      string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

       Output only. Type of the DNS Resource Record.
       Currently always set to "CNAME".
       
      string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setTypeBytes

      public DnsAuthorization.DnsResourceRecord.Builder setTypeBytes(com.google.protobuf.ByteString value)
       Output only. Type of the DNS Resource Record.
       Currently always set to "CNAME".
       
      string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for type to set.
      Returns:
      This builder for chaining.
    • getData

      public String getData()
       Output only. Data of the DNS Resource Record.
       
      string data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getData in interface DnsAuthorization.DnsResourceRecordOrBuilder
      Returns:
      The data.
    • getDataBytes

      public com.google.protobuf.ByteString getDataBytes()
       Output only. Data of the DNS Resource Record.
       
      string data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDataBytes in interface DnsAuthorization.DnsResourceRecordOrBuilder
      Returns:
      The bytes for data.
    • setData

       Output only. Data of the DNS Resource Record.
       
      string data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The data to set.
      Returns:
      This builder for chaining.
    • clearData

       Output only. Data of the DNS Resource Record.
       
      string data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setDataBytes

      public DnsAuthorization.DnsResourceRecord.Builder setDataBytes(com.google.protobuf.ByteString value)
       Output only. Data of the DNS Resource Record.
       
      string data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for data to set.
      Returns:
      This builder for chaining.