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.GeneratedMessage.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.GeneratedMessage.Builder<ListLocationsResponse.Builder>
implements ListLocationsResponseOrBuilder
ListLocationsResponse returns the list of all GKE locations and their recommendation state.Protobuf type
google.container.v1beta1.ListLocationsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllLocations(Iterable<? extends Location> values) A full list of GKE locations.addLocations(int index, Location value) A full list of GKE locations.addLocations(int index, Location.Builder builderForValue) A full list of GKE locations.addLocations(Location value) A full list of GKE locations.addLocations(Location.Builder builderForValue) A full list of GKE locations.A full list of GKE locations.addLocationsBuilder(int index) A full list of GKE locations.build()clear()A full list of GKE locations.Only return ListLocationsResponse that occur after the page_token.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLocations(int index) A full list of GKE locations.getLocationsBuilder(int index) A full list of GKE locations.A full list of GKE locations.intA full list of GKE locations.A full list of GKE locations.getLocationsOrBuilder(int index) A full list of GKE locations.List<? extends LocationOrBuilder>A full list of GKE locations.Only return ListLocationsResponse that occur after the page_token.com.google.protobuf.ByteStringOnly return ListLocationsResponse that occur after the page_token.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListLocationsResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeLocations(int index) A full list of GKE locations.setLocations(int index, Location value) A full list of GKE locations.setLocations(int index, Location.Builder builderForValue) A full list of GKE locations.setNextPageToken(String value) Only return ListLocationsResponse that occur after the page_token.setNextPageTokenBytes(com.google.protobuf.ByteString value) Only return ListLocationsResponse that occur after the page_token.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<ListLocationsResponse.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<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.GeneratedMessage.Builder<ListLocationsResponse.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<ListLocationsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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
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
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1;- Specified by:
getLocationsin interfaceListLocationsResponseOrBuilder
-
setLocations
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1; -
setLocations
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1; -
addLocations
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1; -
addLocations
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1; -
addLocations
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1; -
addLocations
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1; -
addAllLocations
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1; -
clearLocations
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1; -
removeLocations
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1; -
getLocationsBuilder
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1; -
getLocationsOrBuilder
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1;- Specified by:
getLocationsOrBuilderin interfaceListLocationsResponseOrBuilder
-
getLocationsOrBuilderList
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1;- Specified by:
getLocationsOrBuilderListin interfaceListLocationsResponseOrBuilder
-
addLocationsBuilder
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1; -
addLocationsBuilder
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1; -
getLocationsBuilderList
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1; -
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
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
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
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.
-