Class ListDomainsResponse.Builder (1.1.1)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.managedidentities.v1.Domain>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueDomain
Returns
TypeDescription
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
NameDescription
builderForValueDomain.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDomain
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDomain.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Domain.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListDomainsResponse.Builder

This builder for chaining.

build()

public ListDomainsResponse build()
Returns
TypeDescription
ListDomainsResponse

buildPartial()

public ListDomainsResponse buildPartial()
Returns
TypeDescription
ListDomainsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListDomainsResponse.Builder clearUnreachable()

A list of locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListDomainsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListDomainsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDomainsResponse

getDescriptorForType()

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

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

A list of locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

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

public ListDomainsResponse.Builder mergeFrom(ListDomainsResponse other)
Parameter
NameDescription
otherListDomainsResponse
Returns
TypeDescription
ListDomainsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDomainsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueDomain
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDomain.Builder
Returns
TypeDescription
ListDomainsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListDomainsResponse.Builder

This builder for chaining.