Class CreateDnsAuthorizationRequest.Builder (0.5.1)

public static final class CreateDnsAuthorizationRequest.Builder extends GeneratedMessageV3.Builder<CreateDnsAuthorizationRequest.Builder> implements CreateDnsAuthorizationRequestOrBuilder

Request for the CreateDnsAuthorization method.

Protobuf type google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateDnsAuthorizationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateDnsAuthorizationRequest.Builder
Overrides

build()

public CreateDnsAuthorizationRequest build()
Returns
TypeDescription
CreateDnsAuthorizationRequest

buildPartial()

public CreateDnsAuthorizationRequest buildPartial()
Returns
TypeDescription
CreateDnsAuthorizationRequest

clear()

public CreateDnsAuthorizationRequest.Builder clear()
Returns
TypeDescription
CreateDnsAuthorizationRequest.Builder
Overrides

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];

Returns
TypeDescription
CreateDnsAuthorizationRequest.Builder

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
TypeDescription
CreateDnsAuthorizationRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CreateDnsAuthorizationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateDnsAuthorizationRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateDnsAuthorizationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateDnsAuthorizationRequest.Builder
Overrides

clearParent()

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

This builder for chaining.

clone()

public CreateDnsAuthorizationRequest.Builder clone()
Returns
TypeDescription
CreateDnsAuthorizationRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateDnsAuthorizationRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateDnsAuthorizationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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];

Returns
TypeDescription
DnsAuthorization

The dnsAuthorization.

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];

Returns
TypeDescription
DnsAuthorization.Builder

getDnsAuthorizationId()

public String getDnsAuthorizationId()

Required. A user-provided name of the dns authorization.

string dns_authorization_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The dnsAuthorizationId.

getDnsAuthorizationIdBytes()

public ByteString getDnsAuthorizationIdBytes()

Required. A user-provided name of the dns authorization.

string dns_authorization_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for dnsAuthorizationId.

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];

Returns
TypeDescription
DnsAuthorizationOrBuilder

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) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public 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) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

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];

Returns
TypeDescription
boolean

Whether the dnsAuthorization field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDnsAuthorization(DnsAuthorization value)

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];

Parameter
NameDescription
valueDnsAuthorization
Returns
TypeDescription
CreateDnsAuthorizationRequest.Builder

mergeFrom(CreateDnsAuthorizationRequest other)

public CreateDnsAuthorizationRequest.Builder mergeFrom(CreateDnsAuthorizationRequest other)
Parameter
NameDescription
otherCreateDnsAuthorizationRequest
Returns
TypeDescription
CreateDnsAuthorizationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateDnsAuthorizationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateDnsAuthorizationRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateDnsAuthorizationRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateDnsAuthorizationRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateDnsAuthorizationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateDnsAuthorizationRequest.Builder
Overrides

setDnsAuthorization(DnsAuthorization value)

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];

Parameter
NameDescription
valueDnsAuthorization
Returns
TypeDescription
CreateDnsAuthorizationRequest.Builder

setDnsAuthorization(DnsAuthorization.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueDnsAuthorization.Builder
Returns
TypeDescription
CreateDnsAuthorizationRequest.Builder

setDnsAuthorizationId(String value)

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];

Parameter
NameDescription
valueString

The dnsAuthorizationId to set.

Returns
TypeDescription
CreateDnsAuthorizationRequest.Builder

This builder for chaining.

setDnsAuthorizationIdBytes(ByteString value)

public CreateDnsAuthorizationRequest.Builder setDnsAuthorizationIdBytes(ByteString value)

Required. A user-provided name of the dns authorization.

string dns_authorization_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for dnsAuthorizationId to set.

Returns
TypeDescription
CreateDnsAuthorizationRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateDnsAuthorizationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateDnsAuthorizationRequest.Builder
Overrides

setParent(String value)

public CreateDnsAuthorizationRequest.Builder setParent(String 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) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateDnsAuthorizationRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateDnsAuthorizationRequest.Builder setParentBytes(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) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateDnsAuthorizationRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateDnsAuthorizationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateDnsAuthorizationRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateDnsAuthorizationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateDnsAuthorizationRequest.Builder
Overrides