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.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.GeneratedMessageV3.Builder<ListFederationsResponse.Builder> implements ListFederationsResponseOrBuilder
Response message for ListFederations
Protobuf typegoogle.cloud.metastore.v1beta.ListFederationsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListFederationsResponse.Builder
addAllFederations(Iterable<? extends Federation> values)
The services in the specified location.ListFederationsResponse.Builder
addAllUnreachable(Iterable<String> values)
Locations that could not be reached.ListFederationsResponse.Builder
addFederations(int index, Federation value)
The services in the specified location.ListFederationsResponse.Builder
addFederations(int index, Federation.Builder builderForValue)
The services in the specified location.ListFederationsResponse.Builder
addFederations(Federation value)
The services in the specified location.ListFederationsResponse.Builder
addFederations(Federation.Builder builderForValue)
The services in the specified location.Federation.Builder
addFederationsBuilder()
The services in the specified location.Federation.Builder
addFederationsBuilder(int index)
The services in the specified location.ListFederationsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListFederationsResponse.Builder
addUnreachable(String value)
Locations that could not be reached.ListFederationsResponse.Builder
addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached.ListFederationsResponse
build()
ListFederationsResponse
buildPartial()
ListFederationsResponse.Builder
clear()
ListFederationsResponse.Builder
clearFederations()
The services in the specified location.ListFederationsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListFederationsResponse.Builder
clearNextPageToken()
A token that can be sent as `page_token` to retrieve the next page.ListFederationsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListFederationsResponse.Builder
clearUnreachable()
Locations that could not be reached.ListFederationsResponse.Builder
clone()
ListFederationsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Federation
getFederations(int index)
The services in the specified location.Federation.Builder
getFederationsBuilder(int index)
The services in the specified location.List<Federation.Builder>
getFederationsBuilderList()
The services in the specified location.int
getFederationsCount()
The services in the specified location.List<Federation>
getFederationsList()
The services in the specified location.FederationOrBuilder
getFederationsOrBuilder(int index)
The services in the specified location.List<? extends FederationOrBuilder>
getFederationsOrBuilderList()
The services in the specified location.String
getNextPageToken()
A token that can be sent as `page_token` to retrieve the next page.com.google.protobuf.ByteString
getNextPageTokenBytes()
A token that can be sent as `page_token` to retrieve the next page.String
getUnreachable(int index)
Locations that could not be reached.com.google.protobuf.ByteString
getUnreachableBytes(int index)
Locations that could not be reached.int
getUnreachableCount()
Locations that could not be reached.com.google.protobuf.ProtocolStringList
getUnreachableList()
Locations that could not be reached.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListFederationsResponse.Builder
mergeFrom(ListFederationsResponse other)
ListFederationsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListFederationsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListFederationsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListFederationsResponse.Builder
removeFederations(int index)
The services in the specified location.ListFederationsResponse.Builder
setFederations(int index, Federation value)
The services in the specified location.ListFederationsResponse.Builder
setFederations(int index, Federation.Builder builderForValue)
The services in the specified location.ListFederationsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListFederationsResponse.Builder
setNextPageToken(String value)
A token that can be sent as `page_token` to retrieve the next page.ListFederationsResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token that can be sent as `page_token` to retrieve the next page.ListFederationsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListFederationsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListFederationsResponse.Builder
setUnreachable(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFederationsResponse.Builder>
-
clear
public ListFederationsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFederationsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFederationsResponse.Builder>
-
getDefaultInstanceForType
public ListFederationsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListFederationsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListFederationsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListFederationsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFederationsResponse.Builder>
-
setField
public ListFederationsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFederationsResponse.Builder>
-
clearField
public ListFederationsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFederationsResponse.Builder>
-
clearOneof
public ListFederationsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFederationsResponse.Builder>
-
setRepeatedField
public ListFederationsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFederationsResponse.Builder>
-
addRepeatedField
public ListFederationsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFederationsResponse.Builder>
-
mergeFrom
public ListFederationsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListFederationsResponse.Builder>
-
mergeFrom
public ListFederationsResponse.Builder mergeFrom(ListFederationsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListFederationsResponse.Builder>
- Throws:
IOException
-
getFederationsList
public List<Federation> getFederationsList()
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1;
- Specified by:
getFederationsList
in interfaceListFederationsResponseOrBuilder
-
getFederationsCount
public int getFederationsCount()
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1;
- Specified by:
getFederationsCount
in interfaceListFederationsResponseOrBuilder
-
getFederations
public Federation getFederations(int index)
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1;
- Specified by:
getFederations
in interfaceListFederationsResponseOrBuilder
-
setFederations
public ListFederationsResponse.Builder setFederations(int index, Federation value)
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
public ListFederationsResponse.Builder addFederations(Federation value)
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1;
-
addFederations
public ListFederationsResponse.Builder addFederations(int index, Federation value)
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1;
-
addFederations
public ListFederationsResponse.Builder addFederations(Federation.Builder builderForValue)
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
public ListFederationsResponse.Builder addAllFederations(Iterable<? extends Federation> values)
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1;
-
clearFederations
public ListFederationsResponse.Builder clearFederations()
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1;
-
removeFederations
public ListFederationsResponse.Builder removeFederations(int index)
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1;
-
getFederationsBuilder
public Federation.Builder getFederationsBuilder(int index)
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1;
-
getFederationsOrBuilder
public FederationOrBuilder getFederationsOrBuilder(int index)
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1;
- Specified by:
getFederationsOrBuilder
in interfaceListFederationsResponseOrBuilder
-
getFederationsOrBuilderList
public List<? extends FederationOrBuilder> getFederationsOrBuilderList()
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1;
- Specified by:
getFederationsOrBuilderList
in interfaceListFederationsResponseOrBuilder
-
addFederationsBuilder
public Federation.Builder addFederationsBuilder()
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1;
-
addFederationsBuilder
public Federation.Builder addFederationsBuilder(int index)
The services in the specified location.
repeated .google.cloud.metastore.v1beta.Federation federations = 1;
-
getFederationsBuilderList
public List<Federation.Builder> getFederationsBuilderList()
The services in the specified location.
repeated .google.cloud.metastore.v1beta.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:
getNextPageToken
in 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:
getNextPageTokenBytes
in 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:
getUnreachableList
in interfaceListFederationsResponseOrBuilder
- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()
Locations that could not be reached.
repeated string unreachable = 3;
- Specified by:
getUnreachableCount
in interfaceListFederationsResponseOrBuilder
- Returns:
- The count of unreachable.
-
getUnreachable
public String getUnreachable(int index)
Locations that could not be reached.
repeated string unreachable = 3;
- Specified by:
getUnreachable
in 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:
getUnreachableBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFederationsResponse.Builder>
-
mergeUnknownFields
public final ListFederationsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFederationsResponse.Builder>
-
-