Class ListFederationsResponse.Builder (2.25.0)

public static final class ListFederationsResponse.Builder extends GeneratedMessageV3.Builder<ListFederationsResponse.Builder> implements ListFederationsResponseOrBuilder

Response message for ListFederations

Protobuf type google.cloud.metastore.v1alpha.ListFederationsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllFederations(Iterable<? extends Federation> values)

public ListFederationsResponse.Builder addAllFederations(Iterable<? extends Federation> values)

The services in the specified location.

repeated .google.cloud.metastore.v1alpha.Federation federations = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.metastore.v1alpha.Federation>
Returns
TypeDescription
ListFederationsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListFederationsResponse.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
ListFederationsResponse.Builder

This builder for chaining.

addFederations(Federation value)

public ListFederationsResponse.Builder addFederations(Federation value)

The services in the specified location.

repeated .google.cloud.metastore.v1alpha.Federation federations = 1;

Parameter
NameDescription
valueFederation
Returns
TypeDescription
ListFederationsResponse.Builder

addFederations(Federation.Builder builderForValue)

public ListFederationsResponse.Builder addFederations(Federation.Builder builderForValue)

The services in the specified location.

repeated .google.cloud.metastore.v1alpha.Federation federations = 1;

Parameter
NameDescription
builderForValueFederation.Builder
Returns
TypeDescription
ListFederationsResponse.Builder

addFederations(int index, Federation value)

public ListFederationsResponse.Builder addFederations(int index, Federation value)

The services in the specified location.

repeated .google.cloud.metastore.v1alpha.Federation federations = 1;

Parameters
NameDescription
indexint
valueFederation
Returns
TypeDescription
ListFederationsResponse.Builder

addFederations(int index, Federation.Builder builderForValue)

public ListFederationsResponse.Builder addFederations(int index, Federation.Builder builderForValue)

The services in the specified location.

repeated .google.cloud.metastore.v1alpha.Federation federations = 1;

Parameters
NameDescription
indexint
builderForValueFederation.Builder
Returns
TypeDescription
ListFederationsResponse.Builder

addFederationsBuilder()

public Federation.Builder addFederationsBuilder()

The services in the specified location.

repeated .google.cloud.metastore.v1alpha.Federation federations = 1;

Returns
TypeDescription
Federation.Builder

addFederationsBuilder(int index)

public Federation.Builder addFederationsBuilder(int index)

The services in the specified location.

repeated .google.cloud.metastore.v1alpha.Federation federations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Federation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListFederationsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListFederationsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListFederationsResponse.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
ListFederationsResponse.Builder

This builder for chaining.

build()

public ListFederationsResponse build()
Returns
TypeDescription
ListFederationsResponse

buildPartial()

public ListFederationsResponse buildPartial()
Returns
TypeDescription
ListFederationsResponse

clear()

public ListFederationsResponse.Builder clear()
Returns
TypeDescription
ListFederationsResponse.Builder
Overrides

clearFederations()

public ListFederationsResponse.Builder clearFederations()

The services in the specified location.

repeated .google.cloud.metastore.v1alpha.Federation federations = 1;

Returns
TypeDescription
ListFederationsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListFederationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListFederationsResponse.Builder
Overrides

clearNextPageToken()

public ListFederationsResponse.Builder clearNextPageToken()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
ListFederationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListFederationsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListFederationsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListFederationsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListFederationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFederations(int index)

public Federation getFederations(int index)

The services in the specified location.

repeated .google.cloud.metastore.v1alpha.Federation federations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Federation

getFederationsBuilder(int index)

public Federation.Builder getFederationsBuilder(int index)

The services in the specified location.

repeated .google.cloud.metastore.v1alpha.Federation federations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Federation.Builder

getFederationsBuilderList()

public List<Federation.Builder> getFederationsBuilderList()

The services in the specified location.

repeated .google.cloud.metastore.v1alpha.Federation federations = 1;

Returns
TypeDescription
List<Builder>

getFederationsCount()

public int getFederationsCount()

The services in the specified location.

repeated .google.cloud.metastore.v1alpha.Federation federations = 1;

Returns
TypeDescription
int

getFederationsList()

public List<Federation> getFederationsList()

The services in the specified location.

repeated .google.cloud.metastore.v1alpha.Federation federations = 1;

Returns
TypeDescription
List<Federation>

getFederationsOrBuilder(int index)

public FederationOrBuilder getFederationsOrBuilder(int index)

The services in the specified location.

repeated .google.cloud.metastore.v1alpha.Federation federations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
FederationOrBuilder

getFederationsOrBuilderList()

public List<? extends FederationOrBuilder> getFederationsOrBuilderList()

The services in the specified location.

repeated .google.cloud.metastore.v1alpha.Federation federations = 1;

Returns
TypeDescription
List<? extends com.google.cloud.metastore.v1alpha.FederationOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

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(ListFederationsResponse other)

public ListFederationsResponse.Builder mergeFrom(ListFederationsResponse other)
Parameter
NameDescription
otherListFederationsResponse
Returns
TypeDescription
ListFederationsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListFederationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListFederationsResponse.Builder
Overrides

removeFederations(int index)

public ListFederationsResponse.Builder removeFederations(int index)

The services in the specified location.

repeated .google.cloud.metastore.v1alpha.Federation federations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListFederationsResponse.Builder

setFederations(int index, Federation value)

public ListFederationsResponse.Builder setFederations(int index, Federation value)

The services in the specified location.

repeated .google.cloud.metastore.v1alpha.Federation federations = 1;

Parameters
NameDescription
indexint
valueFederation
Returns
TypeDescription
ListFederationsResponse.Builder

setFederations(int index, Federation.Builder builderForValue)

public ListFederationsResponse.Builder setFederations(int index, Federation.Builder builderForValue)

The services in the specified location.

repeated .google.cloud.metastore.v1alpha.Federation federations = 1;

Parameters
NameDescription
indexint
builderForValueFederation.Builder
Returns
TypeDescription
ListFederationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListFederationsResponse.Builder setNextPageToken(String value)

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListFederationsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListFederationsResponse.Builder setNextPageTokenBytes(ByteString value)

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListFederationsResponse.Builder

This builder for chaining.

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

public ListFederationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListFederationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListFederationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListFederationsResponse.Builder
Overrides

setUnreachable(int index, String value)

public ListFederationsResponse.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
ListFederationsResponse.Builder

This builder for chaining.