Class CreateDnsAuthorizationRequest.Builder (0.86.0)

public static final class CreateDnsAuthorizationRequest.Builder extends GeneratedMessage.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

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.

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.

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 GeneratedMessage.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

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.

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.