Class ListDomainsResponse.Builder (1.53.0)

public static final class ListDomainsResponse.Builder extends GeneratedMessageV3.Builder<ListDomainsResponse.Builder> implements ListDomainsResponseOrBuilder

Response message for ListDomains

Protobuf type google.cloud.managedidentities.v1.ListDomainsResponse

Static Methods

getDescriptor()

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

Methods

addAllDomains(Iterable<? extends Domain> values)

public ListDomainsResponse.Builder addAllDomains(Iterable<? extends Domain> values)

A list of Managed Identities Service domains in the project.

repeated .google.cloud.managedidentities.v1.Domain domains = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.managedidentities.v1.Domain>
Returns
Type Description
ListDomainsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

A list of locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListDomainsResponse.Builder

This builder for chaining.

addDomains(Domain value)

public ListDomainsResponse.Builder addDomains(Domain value)

A list of Managed Identities Service domains in the project.

repeated .google.cloud.managedidentities.v1.Domain domains = 1;

Parameter
Name Description
value Domain
Returns
Type Description
ListDomainsResponse.Builder

addDomains(Domain.Builder builderForValue)

public ListDomainsResponse.Builder addDomains(Domain.Builder builderForValue)

A list of Managed Identities Service domains in the project.

repeated .google.cloud.managedidentities.v1.Domain domains = 1;

Parameter
Name Description
builderForValue Domain.Builder
Returns
Type Description
ListDomainsResponse.Builder

addDomains(int index, Domain value)

public ListDomainsResponse.Builder addDomains(int index, Domain value)

A list of Managed Identities Service domains in the project.

repeated .google.cloud.managedidentities.v1.Domain domains = 1;

Parameters
Name Description
index int
value Domain
Returns
Type Description
ListDomainsResponse.Builder

addDomains(int index, Domain.Builder builderForValue)

public ListDomainsResponse.Builder addDomains(int index, Domain.Builder builderForValue)

A list of Managed Identities Service domains in the project.

repeated .google.cloud.managedidentities.v1.Domain domains = 1;

Parameters
Name Description
index int
builderForValue Domain.Builder
Returns
Type Description
ListDomainsResponse.Builder

addDomainsBuilder()

public Domain.Builder addDomainsBuilder()

A list of Managed Identities Service domains in the project.

repeated .google.cloud.managedidentities.v1.Domain domains = 1;

Returns
Type Description
Domain.Builder

addDomainsBuilder(int index)

public Domain.Builder addDomainsBuilder(int index)

A list of Managed Identities Service domains in the project.

repeated .google.cloud.managedidentities.v1.Domain domains = 1;

Parameter
Name Description
index int
Returns
Type Description
Domain.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListDomainsResponse.Builder addUnreachable(String value)

A list of locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListDomainsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListDomainsResponse.Builder addUnreachableBytes(ByteString value)

A list of 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
ListDomainsResponse.Builder

This builder for chaining.

build()

public ListDomainsResponse build()
Returns
Type Description
ListDomainsResponse

buildPartial()

public ListDomainsResponse buildPartial()
Returns
Type Description
ListDomainsResponse

clear()

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

clearDomains()

public ListDomainsResponse.Builder clearDomains()

A list of Managed Identities Service domains in the project.

repeated .google.cloud.managedidentities.v1.Domain domains = 1;

Returns
Type Description
ListDomainsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListDomainsResponse.Builder clearNextPageToken()

A token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ListDomainsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListDomainsResponse.Builder clearUnreachable()

A list of locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListDomainsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListDomainsResponse getDefaultInstanceForType()
Returns
Type Description
ListDomainsResponse

getDescriptorForType()

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

getDomains(int index)

public Domain getDomains(int index)

A list of Managed Identities Service domains in the project.

repeated .google.cloud.managedidentities.v1.Domain domains = 1;

Parameter
Name Description
index int
Returns
Type Description
Domain

getDomainsBuilder(int index)

public Domain.Builder getDomainsBuilder(int index)

A list of Managed Identities Service domains in the project.

repeated .google.cloud.managedidentities.v1.Domain domains = 1;

Parameter
Name Description
index int
Returns
Type Description
Domain.Builder

getDomainsBuilderList()

public List<Domain.Builder> getDomainsBuilderList()

A list of Managed Identities Service domains in the project.

repeated .google.cloud.managedidentities.v1.Domain domains = 1;

Returns
Type Description
List<Builder>

getDomainsCount()

public int getDomainsCount()

A list of Managed Identities Service domains in the project.

repeated .google.cloud.managedidentities.v1.Domain domains = 1;

Returns
Type Description
int

getDomainsList()

public List<Domain> getDomainsList()

A list of Managed Identities Service domains in the project.

repeated .google.cloud.managedidentities.v1.Domain domains = 1;

Returns
Type Description
List<Domain>

getDomainsOrBuilder(int index)

public DomainOrBuilder getDomainsOrBuilder(int index)

A list of Managed Identities Service domains in the project.

repeated .google.cloud.managedidentities.v1.Domain domains = 1;

Parameter
Name Description
index int
Returns
Type Description
DomainOrBuilder

getDomainsOrBuilderList()

public List<? extends DomainOrBuilder> getDomainsOrBuilderList()

A list of Managed Identities Service domains in the project.

repeated .google.cloud.managedidentities.v1.Domain domains = 1;

Returns
Type Description
List<? extends com.google.cloud.managedidentities.v1.DomainOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

A list of 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)

A list of 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()

A list of locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

A list of 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(ListDomainsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDomains(int index)

public ListDomainsResponse.Builder removeDomains(int index)

A list of Managed Identities Service domains in the project.

repeated .google.cloud.managedidentities.v1.Domain domains = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDomainsResponse.Builder

setDomains(int index, Domain value)

public ListDomainsResponse.Builder setDomains(int index, Domain value)

A list of Managed Identities Service domains in the project.

repeated .google.cloud.managedidentities.v1.Domain domains = 1;

Parameters
Name Description
index int
value Domain
Returns
Type Description
ListDomainsResponse.Builder

setDomains(int index, Domain.Builder builderForValue)

public ListDomainsResponse.Builder setDomains(int index, Domain.Builder builderForValue)

A list of Managed Identities Service domains in the project.

repeated .google.cloud.managedidentities.v1.Domain domains = 1;

Parameters
Name Description
index int
builderForValue Domain.Builder
Returns
Type Description
ListDomainsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListDomainsResponse.Builder setNextPageToken(String value)

A token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListDomainsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDomainsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListDomainsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

A list of 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
ListDomainsResponse.Builder

This builder for chaining.