Class ListFederationsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListFederationsResponse.Builder>
-
- com.google.cloud.metastore.v1alpha.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.GeneratedMessageV3.Builder<ListFederationsResponse.Builder> implements ListFederationsResponseOrBuilder
Response message for ListFederations
Protobuf typegoogle.cloud.metastore.v1alpha.ListFederationsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListFederationsResponse.BuilderaddAllFederations(Iterable<? extends Federation> values)The services in the specified location.ListFederationsResponse.BuilderaddAllUnreachable(Iterable<String> values)Locations that could not be reached.ListFederationsResponse.BuilderaddFederations(int index, Federation value)The services in the specified location.ListFederationsResponse.BuilderaddFederations(int index, Federation.Builder builderForValue)The services in the specified location.ListFederationsResponse.BuilderaddFederations(Federation value)The services in the specified location.ListFederationsResponse.BuilderaddFederations(Federation.Builder builderForValue)The services in the specified location.Federation.BuilderaddFederationsBuilder()The services in the specified location.Federation.BuilderaddFederationsBuilder(int index)The services in the specified location.ListFederationsResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListFederationsResponse.BuilderaddUnreachable(String value)Locations that could not be reached.ListFederationsResponse.BuilderaddUnreachableBytes(com.google.protobuf.ByteString value)Locations that could not be reached.ListFederationsResponsebuild()ListFederationsResponsebuildPartial()ListFederationsResponse.Builderclear()ListFederationsResponse.BuilderclearFederations()The services in the specified location.ListFederationsResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListFederationsResponse.BuilderclearNextPageToken()A token that can be sent as `page_token` to retrieve the next page.ListFederationsResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListFederationsResponse.BuilderclearUnreachable()Locations that could not be reached.ListFederationsResponse.Builderclone()ListFederationsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()FederationgetFederations(int index)The services in the specified location.Federation.BuildergetFederationsBuilder(int index)The services in the specified location.List<Federation.Builder>getFederationsBuilderList()The services in the specified location.intgetFederationsCount()The services in the specified location.List<Federation>getFederationsList()The services in the specified location.FederationOrBuildergetFederationsOrBuilder(int index)The services in the specified location.List<? extends FederationOrBuilder>getFederationsOrBuilderList()The services in the specified location.StringgetNextPageToken()A token that can be sent as `page_token` to retrieve the next page.com.google.protobuf.ByteStringgetNextPageTokenBytes()A token that can be sent as `page_token` to retrieve the next page.StringgetUnreachable(int index)Locations that could not be reached.com.google.protobuf.ByteStringgetUnreachableBytes(int index)Locations that could not be reached.intgetUnreachableCount()Locations that could not be reached.com.google.protobuf.ProtocolStringListgetUnreachableList()Locations that could not be reached.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListFederationsResponse.BuildermergeFrom(ListFederationsResponse other)ListFederationsResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListFederationsResponse.BuildermergeFrom(com.google.protobuf.Message other)ListFederationsResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListFederationsResponse.BuilderremoveFederations(int index)The services in the specified location.ListFederationsResponse.BuildersetFederations(int index, Federation value)The services in the specified location.ListFederationsResponse.BuildersetFederations(int index, Federation.Builder builderForValue)The services in the specified location.ListFederationsResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListFederationsResponse.BuildersetNextPageToken(String value)A token that can be sent as `page_token` to retrieve the next page.ListFederationsResponse.BuildersetNextPageTokenBytes(com.google.protobuf.ByteString value)A token that can be sent as `page_token` to retrieve the next page.ListFederationsResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListFederationsResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListFederationsResponse.BuildersetUnreachable(int index, String value)Locations that could not be reached.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListFederationsResponse.Builder>
-
clear
public ListFederationsResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ListFederationsResponse.Builder>
-
getDefaultInstanceForType
public ListFederationsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListFederationsResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListFederationsResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListFederationsResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListFederationsResponse.Builder>
-
setField
public ListFederationsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListFederationsResponse.Builder>
-
clearField
public ListFederationsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListFederationsResponse.Builder>
-
clearOneof
public ListFederationsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListFederationsResponse.Builder>
-
setRepeatedField
public ListFederationsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListFederationsResponse.Builder>
-
addRepeatedField
public ListFederationsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListFederationsResponse.Builder>
-
mergeFrom
public ListFederationsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListFederationsResponse.Builder>
-
mergeFrom
public ListFederationsResponse.Builder mergeFrom(ListFederationsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public List<Federation> getFederationsList()
The services in the specified location.
repeated .google.cloud.metastore.v1alpha.Federation federations = 1;- Specified by:
getFederationsListin interfaceListFederationsResponseOrBuilder
-
getFederationsCount
public int getFederationsCount()
The services in the specified location.
repeated .google.cloud.metastore.v1alpha.Federation federations = 1;- Specified by:
getFederationsCountin interfaceListFederationsResponseOrBuilder
-
getFederations
public Federation getFederations(int index)
The services in the specified location.
repeated .google.cloud.metastore.v1alpha.Federation federations = 1;- Specified by:
getFederationsin interfaceListFederationsResponseOrBuilder
-
setFederations
public ListFederationsResponse.Builder setFederations(int index, Federation value)
The services in the specified location.
repeated .google.cloud.metastore.v1alpha.Federation federations = 1;
-
setFederations
public ListFederationsResponse.Builder setFederations(int index, Federation.Builder builderForValue)
The services in the specified location.
repeated .google.cloud.metastore.v1alpha.Federation federations = 1;
-
addFederations
public ListFederationsResponse.Builder addFederations(Federation value)
The services in the specified location.
repeated .google.cloud.metastore.v1alpha.Federation federations = 1;
-
addFederations
public ListFederationsResponse.Builder addFederations(int index, Federation value)
The services in the specified location.
repeated .google.cloud.metastore.v1alpha.Federation federations = 1;
-
addFederations
public ListFederationsResponse.Builder addFederations(Federation.Builder builderForValue)
The services in the specified location.
repeated .google.cloud.metastore.v1alpha.Federation federations = 1;
-
addFederations
public ListFederationsResponse.Builder addFederations(int index, Federation.Builder builderForValue)
The services in the specified location.
repeated .google.cloud.metastore.v1alpha.Federation federations = 1;
-
addAllFederations
public ListFederationsResponse.Builder addAllFederations(Iterable<? extends Federation> values)
The services in the specified location.
repeated .google.cloud.metastore.v1alpha.Federation federations = 1;
-
clearFederations
public ListFederationsResponse.Builder clearFederations()
The services in the specified location.
repeated .google.cloud.metastore.v1alpha.Federation federations = 1;
-
removeFederations
public ListFederationsResponse.Builder removeFederations(int index)
The services in the specified location.
repeated .google.cloud.metastore.v1alpha.Federation federations = 1;
-
getFederationsBuilder
public Federation.Builder getFederationsBuilder(int index)
The services in the specified location.
repeated .google.cloud.metastore.v1alpha.Federation federations = 1;
-
getFederationsOrBuilder
public FederationOrBuilder getFederationsOrBuilder(int index)
The services in the specified location.
repeated .google.cloud.metastore.v1alpha.Federation federations = 1;- Specified by:
getFederationsOrBuilderin interfaceListFederationsResponseOrBuilder
-
getFederationsOrBuilderList
public List<? extends FederationOrBuilder> getFederationsOrBuilderList()
The services in the specified location.
repeated .google.cloud.metastore.v1alpha.Federation federations = 1;- Specified by:
getFederationsOrBuilderListin interfaceListFederationsResponseOrBuilder
-
addFederationsBuilder
public Federation.Builder addFederationsBuilder()
The services in the specified location.
repeated .google.cloud.metastore.v1alpha.Federation federations = 1;
-
addFederationsBuilder
public Federation.Builder addFederationsBuilder(int index)
The services in the specified location.
repeated .google.cloud.metastore.v1alpha.Federation federations = 1;
-
getFederationsBuilderList
public List<Federation.Builder> getFederationsBuilderList()
The services in the specified location.
repeated .google.cloud.metastore.v1alpha.Federation federations = 1;
-
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;- 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
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;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNextPageTokenBytes
public ListFederationsResponse.Builder setNextPageTokenBytes(com.google.protobuf.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;- 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
public String getUnreachable(int index)
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
public ListFederationsResponse.Builder setUnreachable(int index, String value)
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
public ListFederationsResponse.Builder addUnreachable(String value)
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
public ListFederationsResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
public ListFederationsResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListFederationsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListFederationsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListFederationsResponse.Builder>
-
mergeUnknownFields
public final ListFederationsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListFederationsResponse.Builder>
-
-