Package com.google.cloud.compute.v1
Class RegionList.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RegionList.Builder>
-
- com.google.cloud.compute.v1.RegionList.Builder
-
- All Implemented Interfaces:
RegionListOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RegionList
public static final class RegionList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RegionList.Builder> implements RegionListOrBuilder
Contains a list of region resources.
Protobuf typegoogle.cloud.compute.v1.RegionList
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RegionList.BuilderaddAllItems(Iterable<? extends Region> values)A list of Region resources.RegionList.BuilderaddItems(int index, Region value)A list of Region resources.RegionList.BuilderaddItems(int index, Region.Builder builderForValue)A list of Region resources.RegionList.BuilderaddItems(Region value)A list of Region resources.RegionList.BuilderaddItems(Region.Builder builderForValue)A list of Region resources.Region.BuilderaddItemsBuilder()A list of Region resources.Region.BuilderaddItemsBuilder(int index)A list of Region resources.RegionList.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RegionListbuild()RegionListbuildPartial()RegionList.Builderclear()RegionList.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RegionList.BuilderclearId()[Output Only] Unique identifier for the resource; defined by the server.RegionList.BuilderclearItems()A list of Region resources.RegionList.BuilderclearKind()[Output Only] Type of resource.RegionList.BuilderclearNextPageToken()[Output Only] This token allows you to get the next page of results for list requests.RegionList.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RegionList.BuilderclearSelfLink()[Output Only] Server-defined URL for this resource.RegionList.BuilderclearWarning()[Output Only] Informational warning message.RegionList.Builderclone()RegionListgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetId()[Output Only] Unique identifier for the resource; defined by the server.com.google.protobuf.ByteStringgetIdBytes()[Output Only] Unique identifier for the resource; defined by the server.RegiongetItems(int index)A list of Region resources.Region.BuildergetItemsBuilder(int index)A list of Region resources.List<Region.Builder>getItemsBuilderList()A list of Region resources.intgetItemsCount()A list of Region resources.List<Region>getItemsList()A list of Region resources.RegionOrBuildergetItemsOrBuilder(int index)A list of Region resources.List<? extends RegionOrBuilder>getItemsOrBuilderList()A list of Region resources.StringgetKind()[Output Only] Type of resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] Type of resource.StringgetNextPageToken()[Output Only] This token allows you to get the next page of results for list requests.com.google.protobuf.ByteStringgetNextPageTokenBytes()[Output Only] This token allows you to get the next page of results for list requests.StringgetSelfLink()[Output Only] Server-defined URL for this resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for this resource.WarninggetWarning()[Output Only] Informational warning message.Warning.BuildergetWarningBuilder()[Output Only] Informational warning message.WarningOrBuildergetWarningOrBuilder()[Output Only] Informational warning message.booleanhasId()[Output Only] Unique identifier for the resource; defined by the server.booleanhasKind()[Output Only] Type of resource.booleanhasNextPageToken()[Output Only] This token allows you to get the next page of results for list requests.booleanhasSelfLink()[Output Only] Server-defined URL for this resource.booleanhasWarning()[Output Only] Informational warning message.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RegionList.BuildermergeFrom(RegionList other)RegionList.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RegionList.BuildermergeFrom(com.google.protobuf.Message other)RegionList.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RegionList.BuildermergeWarning(Warning value)[Output Only] Informational warning message.RegionList.BuilderremoveItems(int index)A list of Region resources.RegionList.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RegionList.BuildersetId(String value)[Output Only] Unique identifier for the resource; defined by the server.RegionList.BuildersetIdBytes(com.google.protobuf.ByteString value)[Output Only] Unique identifier for the resource; defined by the server.RegionList.BuildersetItems(int index, Region value)A list of Region resources.RegionList.BuildersetItems(int index, Region.Builder builderForValue)A list of Region resources.RegionList.BuildersetKind(String value)[Output Only] Type of resource.RegionList.BuildersetKindBytes(com.google.protobuf.ByteString value)[Output Only] Type of resource.RegionList.BuildersetNextPageToken(String value)[Output Only] This token allows you to get the next page of results for list requests.RegionList.BuildersetNextPageTokenBytes(com.google.protobuf.ByteString value)[Output Only] This token allows you to get the next page of results for list requests.RegionList.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RegionList.BuildersetSelfLink(String value)[Output Only] Server-defined URL for this resource.RegionList.BuildersetSelfLinkBytes(com.google.protobuf.ByteString value)[Output Only] Server-defined URL for this resource.RegionList.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RegionList.BuildersetWarning(Warning value)[Output Only] Informational warning message.RegionList.BuildersetWarning(Warning.Builder builderForValue)[Output Only] Informational warning message.-
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<RegionList.Builder>
-
clear
public RegionList.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<RegionList.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<RegionList.Builder>
-
getDefaultInstanceForType
public RegionList getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RegionList build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RegionList buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RegionList.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<RegionList.Builder>
-
setField
public RegionList.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<RegionList.Builder>
-
clearField
public RegionList.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RegionList.Builder>
-
clearOneof
public RegionList.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RegionList.Builder>
-
setRepeatedField
public RegionList.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<RegionList.Builder>
-
addRepeatedField
public RegionList.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<RegionList.Builder>
-
mergeFrom
public RegionList.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RegionList.Builder>
-
mergeFrom
public RegionList.Builder mergeFrom(RegionList other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RegionList.Builder>
-
mergeFrom
public RegionList.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<RegionList.Builder>- Throws:
IOException
-
hasId
public boolean hasId()
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;- Specified by:
hasIdin interfaceRegionListOrBuilder- Returns:
- Whether the id field is set.
-
getId
public String getId()
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;- Specified by:
getIdin interfaceRegionListOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;- Specified by:
getIdBytesin interfaceRegionListOrBuilder- Returns:
- The bytes for id.
-
setId
public RegionList.Builder setId(String value)
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public RegionList.Builder clearId()
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;- Returns:
- This builder for chaining.
-
setIdBytes
public RegionList.Builder setIdBytes(com.google.protobuf.ByteString value)
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getItemsList
public List<Region> getItemsList()
A list of Region resources.
repeated .google.cloud.compute.v1.Region items = 100526016;- Specified by:
getItemsListin interfaceRegionListOrBuilder
-
getItemsCount
public int getItemsCount()
A list of Region resources.
repeated .google.cloud.compute.v1.Region items = 100526016;- Specified by:
getItemsCountin interfaceRegionListOrBuilder
-
getItems
public Region getItems(int index)
A list of Region resources.
repeated .google.cloud.compute.v1.Region items = 100526016;- Specified by:
getItemsin interfaceRegionListOrBuilder
-
setItems
public RegionList.Builder setItems(int index, Region value)
A list of Region resources.
repeated .google.cloud.compute.v1.Region items = 100526016;
-
setItems
public RegionList.Builder setItems(int index, Region.Builder builderForValue)
A list of Region resources.
repeated .google.cloud.compute.v1.Region items = 100526016;
-
addItems
public RegionList.Builder addItems(Region value)
A list of Region resources.
repeated .google.cloud.compute.v1.Region items = 100526016;
-
addItems
public RegionList.Builder addItems(int index, Region value)
A list of Region resources.
repeated .google.cloud.compute.v1.Region items = 100526016;
-
addItems
public RegionList.Builder addItems(Region.Builder builderForValue)
A list of Region resources.
repeated .google.cloud.compute.v1.Region items = 100526016;
-
addItems
public RegionList.Builder addItems(int index, Region.Builder builderForValue)
A list of Region resources.
repeated .google.cloud.compute.v1.Region items = 100526016;
-
addAllItems
public RegionList.Builder addAllItems(Iterable<? extends Region> values)
A list of Region resources.
repeated .google.cloud.compute.v1.Region items = 100526016;
-
clearItems
public RegionList.Builder clearItems()
A list of Region resources.
repeated .google.cloud.compute.v1.Region items = 100526016;
-
removeItems
public RegionList.Builder removeItems(int index)
A list of Region resources.
repeated .google.cloud.compute.v1.Region items = 100526016;
-
getItemsBuilder
public Region.Builder getItemsBuilder(int index)
A list of Region resources.
repeated .google.cloud.compute.v1.Region items = 100526016;
-
getItemsOrBuilder
public RegionOrBuilder getItemsOrBuilder(int index)
A list of Region resources.
repeated .google.cloud.compute.v1.Region items = 100526016;- Specified by:
getItemsOrBuilderin interfaceRegionListOrBuilder
-
getItemsOrBuilderList
public List<? extends RegionOrBuilder> getItemsOrBuilderList()
A list of Region resources.
repeated .google.cloud.compute.v1.Region items = 100526016;- Specified by:
getItemsOrBuilderListin interfaceRegionListOrBuilder
-
addItemsBuilder
public Region.Builder addItemsBuilder()
A list of Region resources.
repeated .google.cloud.compute.v1.Region items = 100526016;
-
addItemsBuilder
public Region.Builder addItemsBuilder(int index)
A list of Region resources.
repeated .google.cloud.compute.v1.Region items = 100526016;
-
getItemsBuilderList
public List<Region.Builder> getItemsBuilderList()
A list of Region resources.
repeated .google.cloud.compute.v1.Region items = 100526016;
-
hasKind
public boolean hasKind()
[Output Only] Type of resource. Always compute#regionList for lists of regions.
optional string kind = 3292052;- Specified by:
hasKindin interfaceRegionListOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of resource. Always compute#regionList for lists of regions.
optional string kind = 3292052;- Specified by:
getKindin interfaceRegionListOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of resource. Always compute#regionList for lists of regions.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceRegionListOrBuilder- Returns:
- The bytes for kind.
-
setKind
public RegionList.Builder setKind(String value)
[Output Only] Type of resource. Always compute#regionList for lists of regions.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
public RegionList.Builder clearKind()
[Output Only] Type of resource. Always compute#regionList for lists of regions.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
public RegionList.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of resource. Always compute#regionList for lists of regions.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
hasNextPageToken
public boolean hasNextPageToken()
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
optional string next_page_token = 79797525;- Specified by:
hasNextPageTokenin interfaceRegionListOrBuilder- Returns:
- Whether the nextPageToken field is set.
-
getNextPageToken
public String getNextPageToken()
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
optional string next_page_token = 79797525;- Specified by:
getNextPageTokenin interfaceRegionListOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
optional string next_page_token = 79797525;- Specified by:
getNextPageTokenBytesin interfaceRegionListOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public RegionList.Builder setNextPageToken(String value)
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
optional string next_page_token = 79797525;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public RegionList.Builder clearNextPageToken()
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
optional string next_page_token = 79797525;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public RegionList.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
optional string next_page_token = 79797525;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceRegionListOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceRegionListOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceRegionListOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
public RegionList.Builder setSelfLink(String value)
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
public RegionList.Builder clearSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
public RegionList.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
hasWarning
public boolean hasWarning()
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;- Specified by:
hasWarningin interfaceRegionListOrBuilder- Returns:
- Whether the warning field is set.
-
getWarning
public Warning getWarning()
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;- Specified by:
getWarningin interfaceRegionListOrBuilder- Returns:
- The warning.
-
setWarning
public RegionList.Builder setWarning(Warning value)
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;
-
setWarning
public RegionList.Builder setWarning(Warning.Builder builderForValue)
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;
-
mergeWarning
public RegionList.Builder mergeWarning(Warning value)
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;
-
clearWarning
public RegionList.Builder clearWarning()
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;
-
getWarningBuilder
public Warning.Builder getWarningBuilder()
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;
-
getWarningOrBuilder
public WarningOrBuilder getWarningOrBuilder()
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;- Specified by:
getWarningOrBuilderin interfaceRegionListOrBuilder
-
setUnknownFields
public final RegionList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RegionList.Builder>
-
mergeUnknownFields
public final RegionList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RegionList.Builder>
-
-