Class ListFederationsResponse.Builder (2.45.0)

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

Response message for ListFederations

Protobuf type google.cloud.metastore.v1beta.ListFederationsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
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.v1beta.Federation federations = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.metastore.v1beta.Federation>
Returns
Type Description
ListFederationsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListFederationsResponse.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
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.v1beta.Federation federations = 1;

Parameter
Name Description
value Federation
Returns
Type Description
ListFederationsResponse.Builder

addFederations(Federation.Builder builderForValue)

public ListFederationsResponse.Builder addFederations(Federation.Builder builderForValue)

The services in the specified location.

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

Parameter
Name Description
builderForValue Federation.Builder
Returns
Type Description
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.v1beta.Federation federations = 1;

Parameters
Name Description
index int
value Federation
Returns
Type Description
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.v1beta.Federation federations = 1;

Parameters
Name Description
index int
builderForValue Federation.Builder
Returns
Type Description
ListFederationsResponse.Builder

addFederationsBuilder()

public Federation.Builder addFederationsBuilder()

The services in the specified location.

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

Returns
Type Description
Federation.Builder

addFederationsBuilder(int index)

public Federation.Builder addFederationsBuilder(int index)

The services in the specified location.

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

Parameter
Name Description
index int
Returns
Type Description
Federation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListFederationsResponse.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
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
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListFederationsResponse.Builder

This builder for chaining.

build()

public ListFederationsResponse build()
Returns
Type Description
ListFederationsResponse

buildPartial()

public ListFederationsResponse buildPartial()
Returns
Type Description
ListFederationsResponse

clear()

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

clearFederations()

public ListFederationsResponse.Builder clearFederations()

The services in the specified location.

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

Returns
Type Description
ListFederationsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListFederationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
ListFederationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListFederationsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListFederationsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListFederationsResponse getDefaultInstanceForType()
Returns
Type Description
ListFederationsResponse

getDescriptorForType()

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

getFederations(int index)

public Federation getFederations(int index)

The services in the specified location.

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

Parameter
Name Description
index int
Returns
Type Description
Federation

getFederationsBuilder(int index)

public Federation.Builder getFederationsBuilder(int index)

The services in the specified location.

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

Parameter
Name Description
index int
Returns
Type Description
Federation.Builder

getFederationsBuilderList()

public List<Federation.Builder> getFederationsBuilderList()

The services in the specified location.

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

Returns
Type Description
List<Builder>

getFederationsCount()

public int getFederationsCount()

The services in the specified location.

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

Returns
Type Description
int

getFederationsList()

public List<Federation> getFederationsList()

The services in the specified location.

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

Returns
Type Description
List<Federation>

getFederationsOrBuilder(int index)

public FederationOrBuilder getFederationsOrBuilder(int index)

The services in the specified location.

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

Parameter
Name Description
index int
Returns
Type Description
FederationOrBuilder

getFederationsOrBuilderList()

public List<? extends FederationOrBuilder> getFederationsOrBuilderList()

The services in the specified location.

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

Returns
Type Description
List<? extends com.google.cloud.metastore.v1beta.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
Type Description
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
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(ListFederationsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeFederations(int index)

public ListFederationsResponse.Builder removeFederations(int index)

The services in the specified location.

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

Parameter
Name Description
index int
Returns
Type Description
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.v1beta.Federation federations = 1;

Parameters
Name Description
index int
value Federation
Returns
Type Description
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.v1beta.Federation federations = 1;

Parameters
Name Description
index int
builderForValue Federation.Builder
Returns
Type Description
ListFederationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListFederationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The nextPageToken to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListFederationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListFederationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListFederationsResponse.Builder

This builder for chaining.