Class ListFederationsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListFederationsResponse.Builder>
com.google.cloud.metastore.v1beta.ListFederationsResponse.Builder
- All Implemented Interfaces:
ListFederationsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListFederationsResponse
public static final class ListFederationsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListFederationsResponse.Builder>
implements ListFederationsResponseOrBuilder
Response message for ListFederationsProtobuf type
google.cloud.metastore.v1beta.ListFederationsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllFederations(Iterable<? extends Federation> values) The services in the specified location.addAllUnreachable(Iterable<String> values) Locations that could not be reached.addFederations(int index, Federation value) The services in the specified location.addFederations(int index, Federation.Builder builderForValue) The services in the specified location.addFederations(Federation value) The services in the specified location.addFederations(Federation.Builder builderForValue) The services in the specified location.The services in the specified location.addFederationsBuilder(int index) The services in the specified location.addUnreachable(String value) Locations that could not be reached.addUnreachableBytes(com.google.protobuf.ByteString value) Locations that could not be reached.build()clear()The services in the specified location.A token that can be sent as `page_token` to retrieve the next page.Locations that could not be reached.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFederations(int index) The services in the specified location.getFederationsBuilder(int index) The services in the specified location.The services in the specified location.intThe services in the specified location.The services in the specified location.getFederationsOrBuilder(int index) The services in the specified location.List<? extends FederationOrBuilder>The services in the specified location.A token that can be sent as `page_token` to retrieve the next page.com.google.protobuf.ByteStringA token that can be sent as `page_token` to retrieve the next page.getUnreachable(int index) Locations that could not be reached.com.google.protobuf.ByteStringgetUnreachableBytes(int index) Locations that could not be reached.intLocations that could not be reached.com.google.protobuf.ProtocolStringListLocations that could not be reached.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListFederationsResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeFederations(int index) The services in the specified location.setFederations(int index, Federation value) The services in the specified location.setFederations(int index, Federation.Builder builderForValue) The services in the specified location.setNextPageToken(String value) A token that can be sent as `page_token` to retrieve the next page.setNextPageTokenBytes(com.google.protobuf.ByteString value) A token that can be sent as `page_token` to retrieve the next page.setUnreachable(int index, String value) Locations that could not be reached.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListFederationsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListFederationsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListFederationsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListFederationsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListFederationsResponse.Builder>
-
mergeFrom
public ListFederationsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListFederationsResponse.Builder>- Throws:
IOException
-
getFederationsList
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1;- Specified by:
getFederationsListin interfaceListFederationsResponseOrBuilder
-
getFederationsCount
public int getFederationsCount()The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1;- Specified by:
getFederationsCountin interfaceListFederationsResponseOrBuilder
-
getFederations
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1;- Specified by:
getFederationsin interfaceListFederationsResponseOrBuilder
-
setFederations
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1; -
setFederations
public ListFederationsResponse.Builder setFederations(int index, Federation.Builder builderForValue) The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1; -
addFederations
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1; -
addFederations
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1; -
addFederations
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1; -
addFederations
public ListFederationsResponse.Builder addFederations(int index, Federation.Builder builderForValue) The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1; -
addAllFederations
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1; -
clearFederations
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1; -
removeFederations
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1; -
getFederationsBuilder
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1; -
getFederationsOrBuilder
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1;- Specified by:
getFederationsOrBuilderin interfaceListFederationsResponseOrBuilder
-
getFederationsOrBuilderList
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1;- Specified by:
getFederationsOrBuilderListin interfaceListFederationsResponseOrBuilder
-
addFederationsBuilder
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1; -
addFederationsBuilder
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1; -
getFederationsBuilderList
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1; -
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;- Specified by:
getNextPageTokenin interfaceListFederationsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.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;- Specified by:
getNextPageTokenBytesin interfaceListFederationsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNextPageTokenBytes
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;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
getUnreachableList
public com.google.protobuf.ProtocolStringList getUnreachableList()Locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableListin interfaceListFederationsResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()Locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableCountin interfaceListFederationsResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
Locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachablein interfaceListFederationsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The unreachable at the given index.
-
getUnreachableBytes
public com.google.protobuf.ByteString getUnreachableBytes(int index) Locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableBytesin interfaceListFederationsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
index- The index to set the value at.value- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
Locations that could not be reached.
repeated string unreachable = 3;- Returns:
- This builder for chaining.
-
addUnreachableBytes
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-