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.Builder
addAllLocations(Iterable<? extends Location> values)
A full list of GKE locations.ListLocationsResponse.Builder
addLocations(int index, Location value)
A full list of GKE locations.ListLocationsResponse.Builder
addLocations(int index, Location.Builder builderForValue)
A full list of GKE locations.ListLocationsResponse.Builder
addLocations(Location value)
A full list of GKE locations.ListLocationsResponse.Builder
addLocations(Location.Builder builderForValue)
A full list of GKE locations.Location.Builder
addLocationsBuilder()
A full list of GKE locations.Location.Builder
addLocationsBuilder(int index)
A full list of GKE locations.ListLocationsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListLocationsResponse
build()
ListLocationsResponse
buildPartial()
ListLocationsResponse.Builder
clear()
ListLocationsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListLocationsResponse.Builder
clearLocations()
A full list of GKE locations.ListLocationsResponse.Builder
clearNextPageToken()
Only return ListLocationsResponse that occur after the page_token.ListLocationsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListLocationsResponse.Builder
clone()
ListLocationsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Location
getLocations(int index)
A full list of GKE locations.Location.Builder
getLocationsBuilder(int index)
A full list of GKE locations.List<Location.Builder>
getLocationsBuilderList()
A full list of GKE locations.int
getLocationsCount()
A full list of GKE locations.List<Location>
getLocationsList()
A full list of GKE locations.LocationOrBuilder
getLocationsOrBuilder(int index)
A full list of GKE locations.List<? extends LocationOrBuilder>
getLocationsOrBuilderList()
A full list of GKE locations.String
getNextPageToken()
Only return ListLocationsResponse that occur after the page_token.com.google.protobuf.ByteString
getNextPageTokenBytes()
Only return ListLocationsResponse that occur after the page_token.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListLocationsResponse.Builder
mergeFrom(ListLocationsResponse other)
ListLocationsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListLocationsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListLocationsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListLocationsResponse.Builder
removeLocations(int index)
A full list of GKE locations.ListLocationsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListLocationsResponse.Builder
setLocations(int index, Location value)
A full list of GKE locations.ListLocationsResponse.Builder
setLocations(int index, Location.Builder builderForValue)
A full list of GKE locations.ListLocationsResponse.Builder
setNextPageToken(String value)
Only return ListLocationsResponse that occur after the page_token.ListLocationsResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
Only return ListLocationsResponse that occur after the page_token.ListLocationsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListLocationsResponse.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
clear
public ListLocationsResponse.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<ListLocationsResponse.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<ListLocationsResponse.Builder>
-
getDefaultInstanceForType
public ListLocationsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListLocationsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListLocationsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListLocationsResponse.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<ListLocationsResponse.Builder>
-
setField
public ListLocationsResponse.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<ListLocationsResponse.Builder>
-
clearField
public ListLocationsResponse.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<ListLocationsResponse.Builder>
-
clearOneof
public ListLocationsResponse.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<ListLocationsResponse.Builder>
-
setRepeatedField
public ListLocationsResponse.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<ListLocationsResponse.Builder>
-
addRepeatedField
public ListLocationsResponse.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<ListLocationsResponse.Builder>
-
mergeFrom
public ListLocationsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListLocationsResponse.Builder>
-
mergeFrom
public ListLocationsResponse.Builder mergeFrom(ListLocationsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getLocationsList
in interfaceListLocationsResponseOrBuilder
-
getLocationsCount
public int getLocationsCount()
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1;
- Specified by:
getLocationsCount
in interfaceListLocationsResponseOrBuilder
-
getLocations
public Location getLocations(int index)
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1;
- Specified by:
getLocations
in 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:
getLocationsOrBuilder
in interfaceListLocationsResponseOrBuilder
-
getLocationsOrBuilderList
public List<? extends LocationOrBuilder> getLocationsOrBuilderList()
A full list of GKE locations.
repeated .google.container.v1beta1.Location locations = 1;
- Specified by:
getLocationsOrBuilderList
in 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:
getNextPageToken
in 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:
getNextPageTokenBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
mergeUnknownFields
public final ListLocationsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
-