Class CreateDnsAuthorizationRequest.Builder (0.50.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateDnsAuthorizationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateDnsAuthorizationRequest.Builder
Overrides

build()

public CreateDnsAuthorizationRequest build()
Returns
Type Description
CreateDnsAuthorizationRequest

buildPartial()

public CreateDnsAuthorizationRequest buildPartial()
Returns
Type Description
CreateDnsAuthorizationRequest

clear()

public CreateDnsAuthorizationRequest.Builder clear()
Returns
Type Description
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
Type Description
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
Type Description
CreateDnsAuthorizationRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CreateDnsAuthorizationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateDnsAuthorizationRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateDnsAuthorizationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
CreateDnsAuthorizationRequest.Builder

This builder for chaining.

clone()

public CreateDnsAuthorizationRequest.Builder clone()
Returns
Type Description
CreateDnsAuthorizationRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateDnsAuthorizationRequest getDefaultInstanceForType()
Returns
Type Description
CreateDnsAuthorizationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the dnsAuthorization field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value DnsAuthorization
Returns
Type Description
CreateDnsAuthorizationRequest.Builder

mergeFrom(CreateDnsAuthorizationRequest other)

public CreateDnsAuthorizationRequest.Builder mergeFrom(CreateDnsAuthorizationRequest other)
Parameter
Name Description
other CreateDnsAuthorizationRequest
Returns
Type Description
CreateDnsAuthorizationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateDnsAuthorizationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateDnsAuthorizationRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateDnsAuthorizationRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateDnsAuthorizationRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateDnsAuthorizationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value DnsAuthorization
Returns
Type Description
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
Name Description
builderForValue DnsAuthorization.Builder
Returns
Type Description
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
Name Description
value String

The dnsAuthorizationId to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for dnsAuthorizationId to set.

Returns
Type Description
CreateDnsAuthorizationRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateDnsAuthorizationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The parent to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateDnsAuthorizationRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateDnsAuthorizationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateDnsAuthorizationRequest.Builder
Overrides