Class ListDnsAuthorizationsResponse.Builder (0.57.0)

public static final class ListDnsAuthorizationsResponse.Builder extends GeneratedMessageV3.Builder<ListDnsAuthorizationsResponse.Builder> implements ListDnsAuthorizationsResponseOrBuilder

Response for the ListDnsAuthorizations method.

Protobuf type google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDnsAuthorizations(Iterable<? extends DnsAuthorization> values)

public ListDnsAuthorizationsResponse.Builder addAllDnsAuthorizations(Iterable<? extends DnsAuthorization> values)

A list of dns authorizations for the parent resource.

repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.certificatemanager.v1.DnsAuthorization>
Returns
Type Description
ListDnsAuthorizationsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListDnsAuthorizationsResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListDnsAuthorizationsResponse.Builder

This builder for chaining.

addDnsAuthorizations(DnsAuthorization value)

public ListDnsAuthorizationsResponse.Builder addDnsAuthorizations(DnsAuthorization value)

A list of dns authorizations for the parent resource.

repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;

Parameter
Name Description
value DnsAuthorization
Returns
Type Description
ListDnsAuthorizationsResponse.Builder

addDnsAuthorizations(DnsAuthorization.Builder builderForValue)

public ListDnsAuthorizationsResponse.Builder addDnsAuthorizations(DnsAuthorization.Builder builderForValue)

A list of dns authorizations for the parent resource.

repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;

Parameter
Name Description
builderForValue DnsAuthorization.Builder
Returns
Type Description
ListDnsAuthorizationsResponse.Builder

addDnsAuthorizations(int index, DnsAuthorization value)

public ListDnsAuthorizationsResponse.Builder addDnsAuthorizations(int index, DnsAuthorization value)

A list of dns authorizations for the parent resource.

repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;

Parameters
Name Description
index int
value DnsAuthorization
Returns
Type Description
ListDnsAuthorizationsResponse.Builder

addDnsAuthorizations(int index, DnsAuthorization.Builder builderForValue)

public ListDnsAuthorizationsResponse.Builder addDnsAuthorizations(int index, DnsAuthorization.Builder builderForValue)

A list of dns authorizations for the parent resource.

repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;

Parameters
Name Description
index int
builderForValue DnsAuthorization.Builder
Returns
Type Description
ListDnsAuthorizationsResponse.Builder

addDnsAuthorizationsBuilder()

public DnsAuthorization.Builder addDnsAuthorizationsBuilder()

A list of dns authorizations for the parent resource.

repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;

Returns
Type Description
DnsAuthorization.Builder

addDnsAuthorizationsBuilder(int index)

public DnsAuthorization.Builder addDnsAuthorizationsBuilder(int index)

A list of dns authorizations for the parent resource.

repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;

Parameter
Name Description
index int
Returns
Type Description
DnsAuthorization.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListDnsAuthorizationsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListDnsAuthorizationsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListDnsAuthorizationsResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListDnsAuthorizationsResponse.Builder

This builder for chaining.

build()

public ListDnsAuthorizationsResponse build()
Returns
Type Description
ListDnsAuthorizationsResponse

buildPartial()

public ListDnsAuthorizationsResponse buildPartial()
Returns
Type Description
ListDnsAuthorizationsResponse

clear()

public ListDnsAuthorizationsResponse.Builder clear()
Returns
Type Description
ListDnsAuthorizationsResponse.Builder
Overrides

clearDnsAuthorizations()

public ListDnsAuthorizationsResponse.Builder clearDnsAuthorizations()

A list of dns authorizations for the parent resource.

repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;

Returns
Type Description
ListDnsAuthorizationsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListDnsAuthorizationsResponse.Builder clearNextPageToken()

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Returns
Type Description
ListDnsAuthorizationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListDnsAuthorizationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListDnsAuthorizationsResponse.Builder
Overrides

clearUnreachable()

public ListDnsAuthorizationsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListDnsAuthorizationsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListDnsAuthorizationsResponse getDefaultInstanceForType()
Returns
Type Description
ListDnsAuthorizationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDnsAuthorizations(int index)

public DnsAuthorization getDnsAuthorizations(int index)

A list of dns authorizations for the parent resource.

repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;

Parameter
Name Description
index int
Returns
Type Description
DnsAuthorization

getDnsAuthorizationsBuilder(int index)

public DnsAuthorization.Builder getDnsAuthorizationsBuilder(int index)

A list of dns authorizations for the parent resource.

repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;

Parameter
Name Description
index int
Returns
Type Description
DnsAuthorization.Builder

getDnsAuthorizationsBuilderList()

public List<DnsAuthorization.Builder> getDnsAuthorizationsBuilderList()

A list of dns authorizations for the parent resource.

repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;

Returns
Type Description
List<Builder>

getDnsAuthorizationsCount()

public int getDnsAuthorizationsCount()

A list of dns authorizations for the parent resource.

repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;

Returns
Type Description
int

getDnsAuthorizationsList()

public List<DnsAuthorization> getDnsAuthorizationsList()

A list of dns authorizations for the parent resource.

repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;

Returns
Type Description
List<DnsAuthorization>

getDnsAuthorizationsOrBuilder(int index)

public DnsAuthorizationOrBuilder getDnsAuthorizationsOrBuilder(int index)

A list of dns authorizations for the parent resource.

repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;

Parameter
Name Description
index int
Returns
Type Description
DnsAuthorizationOrBuilder

getDnsAuthorizationsOrBuilderList()

public List<? extends DnsAuthorizationOrBuilder> getDnsAuthorizationsOrBuilderList()

A list of dns authorizations for the parent resource.

repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;

Returns
Type Description
List<? extends com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder>

getNextPageToken()

public String getNextPageToken()

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListDnsAuthorizationsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDnsAuthorizationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListDnsAuthorizationsResponse.Builder
Overrides

removeDnsAuthorizations(int index)

public ListDnsAuthorizationsResponse.Builder removeDnsAuthorizations(int index)

A list of dns authorizations for the parent resource.

repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDnsAuthorizationsResponse.Builder

setDnsAuthorizations(int index, DnsAuthorization value)

public ListDnsAuthorizationsResponse.Builder setDnsAuthorizations(int index, DnsAuthorization value)

A list of dns authorizations for the parent resource.

repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;

Parameters
Name Description
index int
value DnsAuthorization
Returns
Type Description
ListDnsAuthorizationsResponse.Builder

setDnsAuthorizations(int index, DnsAuthorization.Builder builderForValue)

public ListDnsAuthorizationsResponse.Builder setDnsAuthorizations(int index, DnsAuthorization.Builder builderForValue)

A list of dns authorizations for the parent resource.

repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1;

Parameters
Name Description
index int
builderForValue DnsAuthorization.Builder
Returns
Type Description
ListDnsAuthorizationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListDnsAuthorizationsResponse.Builder setNextPageToken(String value)

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListDnsAuthorizationsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDnsAuthorizationsResponse.Builder setNextPageTokenBytes(ByteString value)

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListDnsAuthorizationsResponse.Builder

This builder for chaining.

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

public ListDnsAuthorizationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListDnsAuthorizationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListDnsAuthorizationsResponse.Builder setUnreachable(int index, String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListDnsAuthorizationsResponse.Builder

This builder for chaining.