Package com.google.container.v1beta1
Class ListLocationsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
- com.google.container.v1beta1.ListLocationsResponse.Builder
-
- All Implemented Interfaces:
ListLocationsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListLocationsResponse
public static final class ListLocationsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder> implements ListLocationsResponseOrBuilder
ListLocationsResponse returns the list of all GKE locations and their recommendation state.
Protobuf typegoogle.container.v1beta1.ListLocationsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListLocationsResponse.BuilderaddAllLocations(Iterable<? extends Location> values)A full list of GKE locations.ListLocationsResponse.BuilderaddLocations(int index, Location value)A full list of GKE locations.ListLocationsResponse.BuilderaddLocations(int index, Location.Builder builderForValue)A full list of GKE locations.ListLocationsResponse.BuilderaddLocations(Location value)A full list of GKE locations.ListLocationsResponse.BuilderaddLocations(Location.Builder builderForValue)A full list of GKE locations.Location.BuilderaddLocationsBuilder()A full list of GKE locations.Location.BuilderaddLocationsBuilder(int index)A full list of GKE locations.ListLocationsResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListLocationsResponsebuild()ListLocationsResponsebuildPartial()ListLocationsResponse.Builderclear()ListLocationsResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListLocationsResponse.BuilderclearLocations()A full list of GKE locations.ListLocationsResponse.BuilderclearNextPageToken()Only return ListLocationsResponse that occur after the page_token.ListLocationsResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListLocationsResponse.Builderclone()ListLocationsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()LocationgetLocations(int index)A full list of GKE locations.Location.BuildergetLocationsBuilder(int index)A full list of GKE locations.List<Location.Builder>getLocationsBuilderList()A full list of GKE locations.intgetLocationsCount()A full list of GKE locations.List<Location>getLocationsList()A full list of GKE locations.LocationOrBuildergetLocationsOrBuilder(int index)A full list of GKE locations.List<? extends LocationOrBuilder>getLocationsOrBuilderList()A full list of GKE locations.StringgetNextPageToken()Only return ListLocationsResponse that occur after the page_token.com.google.protobuf.ByteStringgetNextPageTokenBytes()Only return ListLocationsResponse that occur after the page_token.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListLocationsResponse.BuildermergeFrom(ListLocationsResponse other)ListLocationsResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListLocationsResponse.BuildermergeFrom(com.google.protobuf.Message other)ListLocationsResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListLocationsResponse.BuilderremoveLocations(int index)A full list of GKE locations.ListLocationsResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListLocationsResponse.BuildersetLocations(int index, Location value)A full list of GKE locations.ListLocationsResponse.BuildersetLocations(int index, Location.Builder builderForValue)A full list of GKE locations.ListLocationsResponse.BuildersetNextPageToken(String value)Only return ListLocationsResponse that occur after the page_token.ListLocationsResponse.BuildersetNextPageTokenBytes(com.google.protobuf.ByteString value)Only return ListLocationsResponse that occur after the page_token.ListLocationsResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListLocationsResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
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<ListLocationsResponse.Builder>
-
clear
public ListLocationsResponse.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<ListLocationsResponse.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<ListLocationsResponse.Builder>
-
getDefaultInstanceForType
public ListLocationsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListLocationsResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListLocationsResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListLocationsResponse.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<ListLocationsResponse.Builder>
-
setField
public ListLocationsResponse.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<ListLocationsResponse.Builder>
-
clearField
public ListLocationsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
clearOneof
public ListLocationsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
setRepeatedField
public ListLocationsResponse.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<ListLocationsResponse.Builder>
-
addRepeatedField
public ListLocationsResponse.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<ListLocationsResponse.Builder>
-
mergeFrom
public ListLocationsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListLocationsResponse.Builder>
-
mergeFrom
public ListLocationsResponse.Builder mergeFrom(ListLocationsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
mergeFrom
public ListLocationsResponse.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<ListLocationsResponse.Builder>- Throws:
IOException
-
getLocationsList
public List<Location> getLocationsList()
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1;- Specified by:
getLocationsListin interfaceListLocationsResponseOrBuilder
-
getLocationsCount
public int getLocationsCount()
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1;- Specified by:
getLocationsCountin interfaceListLocationsResponseOrBuilder
-
getLocations
public Location getLocations(int index)
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1;- Specified by:
getLocationsin interfaceListLocationsResponseOrBuilder
-
setLocations
public ListLocationsResponse.Builder setLocations(int index, Location value)
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1;
-
setLocations
public ListLocationsResponse.Builder setLocations(int index, Location.Builder builderForValue)
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1;
-
addLocations
public ListLocationsResponse.Builder addLocations(Location value)
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1;
-
addLocations
public ListLocationsResponse.Builder addLocations(int index, Location value)
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1;
-
addLocations
public ListLocationsResponse.Builder addLocations(Location.Builder builderForValue)
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1;
-
addLocations
public ListLocationsResponse.Builder addLocations(int index, Location.Builder builderForValue)
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1;
-
addAllLocations
public ListLocationsResponse.Builder addAllLocations(Iterable<? extends Location> values)
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1;
-
clearLocations
public ListLocationsResponse.Builder clearLocations()
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1;
-
removeLocations
public ListLocationsResponse.Builder removeLocations(int index)
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1;
-
getLocationsBuilder
public Location.Builder getLocationsBuilder(int index)
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1;
-
getLocationsOrBuilder
public LocationOrBuilder getLocationsOrBuilder(int index)
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1;- Specified by:
getLocationsOrBuilderin interfaceListLocationsResponseOrBuilder
-
getLocationsOrBuilderList
public List<? extends LocationOrBuilder> getLocationsOrBuilderList()
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1;- Specified by:
getLocationsOrBuilderListin interfaceListLocationsResponseOrBuilder
-
addLocationsBuilder
public Location.Builder addLocationsBuilder()
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1;
-
addLocationsBuilder
public Location.Builder addLocationsBuilder(int index)
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1;
-
getLocationsBuilderList
public List<Location.Builder> getLocationsBuilderList()
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1;
-
getNextPageToken
public String getNextPageToken()
Only return ListLocationsResponse that occur after the page_token. This value should be populated from the ListLocationsResponse.next_page_token if that response token was set (which happens when listing more Locations than fit in a single ListLocationsResponse).
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListLocationsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
Only return ListLocationsResponse that occur after the page_token. This value should be populated from the ListLocationsResponse.next_page_token if that response token was set (which happens when listing more Locations than fit in a single ListLocationsResponse).
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListLocationsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListLocationsResponse.Builder setNextPageToken(String value)
Only return ListLocationsResponse that occur after the page_token. This value should be populated from the ListLocationsResponse.next_page_token if that response token was set (which happens when listing more Locations than fit in a single ListLocationsResponse).
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public ListLocationsResponse.Builder clearNextPageToken()
Only return ListLocationsResponse that occur after the page_token. This value should be populated from the ListLocationsResponse.next_page_token if that response token was set (which happens when listing more Locations than fit in a single ListLocationsResponse).
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListLocationsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
Only return ListLocationsResponse that occur after the page_token. This value should be populated from the ListLocationsResponse.next_page_token if that response token was set (which happens when listing more Locations than fit in a single ListLocationsResponse).
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListLocationsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
mergeUnknownFields
public final ListLocationsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
-