Class ListDnsAuthorizationsResponse.Builder (0.22.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.certificatemanager.v1.DnsAuthorization>
Returns
TypeDescription
ListDnsAuthorizationsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueDnsAuthorization
Returns
TypeDescription
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
NameDescription
builderForValueDnsAuthorization.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDnsAuthorization
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDnsAuthorization.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DnsAuthorization.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListDnsAuthorizationsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListDnsAuthorizationsResponse.Builder

This builder for chaining.

build()

public ListDnsAuthorizationsResponse build()
Returns
TypeDescription
ListDnsAuthorizationsResponse

buildPartial()

public ListDnsAuthorizationsResponse buildPartial()
Returns
TypeDescription
ListDnsAuthorizationsResponse

clear()

public ListDnsAuthorizationsResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ListDnsAuthorizationsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListDnsAuthorizationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListDnsAuthorizationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListDnsAuthorizationsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListDnsAuthorizationsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListDnsAuthorizationsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDnsAuthorizationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListDnsAuthorizationsResponse other)

public ListDnsAuthorizationsResponse.Builder mergeFrom(ListDnsAuthorizationsResponse other)
Parameter
NameDescription
otherListDnsAuthorizationsResponse
Returns
TypeDescription
ListDnsAuthorizationsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDnsAuthorizationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueDnsAuthorization
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDnsAuthorization.Builder
Returns
TypeDescription
ListDnsAuthorizationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListDnsAuthorizationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListDnsAuthorizationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListDnsAuthorizationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListDnsAuthorizationsResponse.Builder

This builder for chaining.