Package com.google.cloud.compute.v1
Class Region.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
-
- com.google.cloud.compute.v1.Region.Builder
-
- All Implemented Interfaces:
RegionOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Region
public static final class Region.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Region.Builder> implements RegionOrBuilder
Represents a Region resource. A region is a geographical area where a resource is located. For more information, read Regions and Zones.
Protobuf typegoogle.cloud.compute.v1.Region
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Region.Builder
addAllQuotas(Iterable<? extends Quota> values)
[Output Only] Quotas assigned to this region.Region.Builder
addAllZones(Iterable<String> values)
[Output Only] A list of zones available in this region, in the form of resource URLs.Region.Builder
addQuotas(int index, Quota value)
[Output Only] Quotas assigned to this region.Region.Builder
addQuotas(int index, Quota.Builder builderForValue)
[Output Only] Quotas assigned to this region.Region.Builder
addQuotas(Quota value)
[Output Only] Quotas assigned to this region.Region.Builder
addQuotas(Quota.Builder builderForValue)
[Output Only] Quotas assigned to this region.Quota.Builder
addQuotasBuilder()
[Output Only] Quotas assigned to this region.Quota.Builder
addQuotasBuilder(int index)
[Output Only] Quotas assigned to this region.Region.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Region.Builder
addZones(String value)
[Output Only] A list of zones available in this region, in the form of resource URLs.Region.Builder
addZonesBytes(com.google.protobuf.ByteString value)
[Output Only] A list of zones available in this region, in the form of resource URLs.Region
build()
Region
buildPartial()
Region.Builder
clear()
Region.Builder
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.Region.Builder
clearDeprecated()
[Output Only] The deprecation status associated with this region.Region.Builder
clearDescription()
[Output Only] Textual description of the resource.Region.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Region.Builder
clearId()
[Output Only] The unique identifier for the resource.Region.Builder
clearKind()
[Output Only] Type of the resource.Region.Builder
clearName()
[Output Only] Name of the resource.Region.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Region.Builder
clearQuotas()
[Output Only] Quotas assigned to this region.Region.Builder
clearSelfLink()
[Output Only] Server-defined URL for the resource.Region.Builder
clearStatus()
[Output Only] Status of the region, either UP or DOWN.Region.Builder
clearSupportsPzs()
[Output Only] Reserved for future use.Region.Builder
clearZones()
[Output Only] A list of zones available in this region, in the form of resource URLs.Region.Builder
clone()
String
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteString
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.Region
getDefaultInstanceForType()
DeprecationStatus
getDeprecated()
[Output Only] The deprecation status associated with this region.DeprecationStatus.Builder
getDeprecatedBuilder()
[Output Only] The deprecation status associated with this region.DeprecationStatusOrBuilder
getDeprecatedOrBuilder()
[Output Only] The deprecation status associated with this region.String
getDescription()
[Output Only] Textual description of the resource.com.google.protobuf.ByteString
getDescriptionBytes()
[Output Only] Textual description of the resource.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getId()
[Output Only] The unique identifier for the resource.String
getKind()
[Output Only] Type of the resource.com.google.protobuf.ByteString
getKindBytes()
[Output Only] Type of the resource.String
getName()
[Output Only] Name of the resource.com.google.protobuf.ByteString
getNameBytes()
[Output Only] Name of the resource.Quota
getQuotas(int index)
[Output Only] Quotas assigned to this region.Quota.Builder
getQuotasBuilder(int index)
[Output Only] Quotas assigned to this region.List<Quota.Builder>
getQuotasBuilderList()
[Output Only] Quotas assigned to this region.int
getQuotasCount()
[Output Only] Quotas assigned to this region.List<Quota>
getQuotasList()
[Output Only] Quotas assigned to this region.QuotaOrBuilder
getQuotasOrBuilder(int index)
[Output Only] Quotas assigned to this region.List<? extends QuotaOrBuilder>
getQuotasOrBuilderList()
[Output Only] Quotas assigned to this region.String
getSelfLink()
[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.String
getStatus()
[Output Only] Status of the region, either UP or DOWN.com.google.protobuf.ByteString
getStatusBytes()
[Output Only] Status of the region, either UP or DOWN.boolean
getSupportsPzs()
[Output Only] Reserved for future use.String
getZones(int index)
[Output Only] A list of zones available in this region, in the form of resource URLs.com.google.protobuf.ByteString
getZonesBytes(int index)
[Output Only] A list of zones available in this region, in the form of resource URLs.int
getZonesCount()
[Output Only] A list of zones available in this region, in the form of resource URLs.com.google.protobuf.ProtocolStringList
getZonesList()
[Output Only] A list of zones available in this region, in the form of resource URLs.boolean
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.boolean
hasDeprecated()
[Output Only] The deprecation status associated with this region.boolean
hasDescription()
[Output Only] Textual description of the resource.boolean
hasId()
[Output Only] The unique identifier for the resource.boolean
hasKind()
[Output Only] Type of the resource.boolean
hasName()
[Output Only] Name of the resource.boolean
hasSelfLink()
[Output Only] Server-defined URL for the resource.boolean
hasStatus()
[Output Only] Status of the region, either UP or DOWN.boolean
hasSupportsPzs()
[Output Only] Reserved for future use.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Region.Builder
mergeDeprecated(DeprecationStatus value)
[Output Only] The deprecation status associated with this region.Region.Builder
mergeFrom(Region other)
Region.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Region.Builder
mergeFrom(com.google.protobuf.Message other)
Region.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Region.Builder
removeQuotas(int index)
[Output Only] Quotas assigned to this region.Region.Builder
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.Region.Builder
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.Region.Builder
setDeprecated(DeprecationStatus value)
[Output Only] The deprecation status associated with this region.Region.Builder
setDeprecated(DeprecationStatus.Builder builderForValue)
[Output Only] The deprecation status associated with this region.Region.Builder
setDescription(String value)
[Output Only] Textual description of the resource.Region.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
[Output Only] Textual description of the resource.Region.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Region.Builder
setId(long value)
[Output Only] The unique identifier for the resource.Region.Builder
setKind(String value)
[Output Only] Type of the resource.Region.Builder
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource.Region.Builder
setName(String value)
[Output Only] Name of the resource.Region.Builder
setNameBytes(com.google.protobuf.ByteString value)
[Output Only] Name of the resource.Region.Builder
setQuotas(int index, Quota value)
[Output Only] Quotas assigned to this region.Region.Builder
setQuotas(int index, Quota.Builder builderForValue)
[Output Only] Quotas assigned to this region.Region.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Region.Builder
setSelfLink(String value)
[Output Only] Server-defined URL for the resource.Region.Builder
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.Region.Builder
setStatus(String value)
[Output Only] Status of the region, either UP or DOWN.Region.Builder
setStatusBytes(com.google.protobuf.ByteString value)
[Output Only] Status of the region, either UP or DOWN.Region.Builder
setSupportsPzs(boolean value)
[Output Only] Reserved for future use.Region.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Region.Builder
setZones(int index, String value)
[Output Only] A list of zones available in this region, in the form of resource URLs.-
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<Region.Builder>
-
clear
public Region.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<Region.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<Region.Builder>
-
getDefaultInstanceForType
public Region getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Region build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Region buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Region.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<Region.Builder>
-
setField
public Region.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<Region.Builder>
-
clearField
public Region.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<Region.Builder>
-
clearOneof
public Region.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<Region.Builder>
-
setRepeatedField
public Region.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<Region.Builder>
-
addRepeatedField
public Region.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<Region.Builder>
-
mergeFrom
public Region.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Region.Builder>
-
mergeFrom
public Region.Builder mergeFrom(Region other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
-
mergeFrom
public Region.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<Region.Builder>
- Throws:
IOException
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Specified by:
hasCreationTimestamp
in interfaceRegionOrBuilder
- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Specified by:
getCreationTimestamp
in interfaceRegionOrBuilder
- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Specified by:
getCreationTimestampBytes
in interfaceRegionOrBuilder
- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
public Region.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Parameters:
value
- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
public Region.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
public Region.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Parameters:
value
- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasDeprecated
public boolean hasDeprecated()
[Output Only] The deprecation status associated with this region.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
- Specified by:
hasDeprecated
in interfaceRegionOrBuilder
- Returns:
- Whether the deprecated field is set.
-
getDeprecated
public DeprecationStatus getDeprecated()
[Output Only] The deprecation status associated with this region.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
- Specified by:
getDeprecated
in interfaceRegionOrBuilder
- Returns:
- The deprecated.
-
setDeprecated
public Region.Builder setDeprecated(DeprecationStatus value)
[Output Only] The deprecation status associated with this region.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
-
setDeprecated
public Region.Builder setDeprecated(DeprecationStatus.Builder builderForValue)
[Output Only] The deprecation status associated with this region.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
-
mergeDeprecated
public Region.Builder mergeDeprecated(DeprecationStatus value)
[Output Only] The deprecation status associated with this region.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
-
clearDeprecated
public Region.Builder clearDeprecated()
[Output Only] The deprecation status associated with this region.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
-
getDeprecatedBuilder
public DeprecationStatus.Builder getDeprecatedBuilder()
[Output Only] The deprecation status associated with this region.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
-
getDeprecatedOrBuilder
public DeprecationStatusOrBuilder getDeprecatedOrBuilder()
[Output Only] The deprecation status associated with this region.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
- Specified by:
getDeprecatedOrBuilder
in interfaceRegionOrBuilder
-
hasDescription
public boolean hasDescription()
[Output Only] Textual description of the resource.
optional string description = 422937596;
- Specified by:
hasDescription
in interfaceRegionOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
[Output Only] Textual description of the resource.
optional string description = 422937596;
- Specified by:
getDescription
in interfaceRegionOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
[Output Only] Textual description of the resource.
optional string description = 422937596;
- Specified by:
getDescriptionBytes
in interfaceRegionOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public Region.Builder setDescription(String value)
[Output Only] Textual description of the resource.
optional string description = 422937596;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Region.Builder clearDescription()
[Output Only] Textual description of the resource.
optional string description = 422937596;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Region.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
[Output Only] Textual description of the resource.
optional string description = 422937596;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
- Specified by:
hasId
in interfaceRegionOrBuilder
- Returns:
- Whether the id field is set.
-
getId
public long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
- Specified by:
getId
in interfaceRegionOrBuilder
- Returns:
- The id.
-
setId
public Region.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
public Region.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()
[Output Only] Type of the resource. Always compute#region for regions.
optional string kind = 3292052;
- Specified by:
hasKind
in interfaceRegionOrBuilder
- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of the resource. Always compute#region for regions.
optional string kind = 3292052;
- Specified by:
getKind
in interfaceRegionOrBuilder
- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#region for regions.
optional string kind = 3292052;
- Specified by:
getKindBytes
in interfaceRegionOrBuilder
- Returns:
- The bytes for kind.
-
setKind
public Region.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#region for regions.
optional string kind = 3292052;
- Parameters:
value
- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
public Region.Builder clearKind()
[Output Only] Type of the resource. Always compute#region for regions.
optional string kind = 3292052;
- Returns:
- This builder for chaining.
-
setKindBytes
public Region.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource. Always compute#region for regions.
optional string kind = 3292052;
- Parameters:
value
- The bytes for kind to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()
[Output Only] Name of the resource.
optional string name = 3373707;
- Specified by:
hasName
in interfaceRegionOrBuilder
- Returns:
- Whether the name field is set.
-
getName
public String getName()
[Output Only] Name of the resource.
optional string name = 3373707;
- Specified by:
getName
in interfaceRegionOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
[Output Only] Name of the resource.
optional string name = 3373707;
- Specified by:
getNameBytes
in interfaceRegionOrBuilder
- Returns:
- The bytes for name.
-
setName
public Region.Builder setName(String value)
[Output Only] Name of the resource.
optional string name = 3373707;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Region.Builder clearName()
[Output Only] Name of the resource.
optional string name = 3373707;
- Returns:
- This builder for chaining.
-
setNameBytes
public Region.Builder setNameBytes(com.google.protobuf.ByteString value)
[Output Only] Name of the resource.
optional string name = 3373707;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getQuotasList
public List<Quota> getQuotasList()
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
- Specified by:
getQuotasList
in interfaceRegionOrBuilder
-
getQuotasCount
public int getQuotasCount()
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
- Specified by:
getQuotasCount
in interfaceRegionOrBuilder
-
getQuotas
public Quota getQuotas(int index)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
- Specified by:
getQuotas
in interfaceRegionOrBuilder
-
setQuotas
public Region.Builder setQuotas(int index, Quota value)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
setQuotas
public Region.Builder setQuotas(int index, Quota.Builder builderForValue)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
addQuotas
public Region.Builder addQuotas(Quota value)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
addQuotas
public Region.Builder addQuotas(int index, Quota value)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
addQuotas
public Region.Builder addQuotas(Quota.Builder builderForValue)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
addQuotas
public Region.Builder addQuotas(int index, Quota.Builder builderForValue)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
addAllQuotas
public Region.Builder addAllQuotas(Iterable<? extends Quota> values)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
clearQuotas
public Region.Builder clearQuotas()
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
removeQuotas
public Region.Builder removeQuotas(int index)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
getQuotasBuilder
public Quota.Builder getQuotasBuilder(int index)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
getQuotasOrBuilder
public QuotaOrBuilder getQuotasOrBuilder(int index)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
- Specified by:
getQuotasOrBuilder
in interfaceRegionOrBuilder
-
getQuotasOrBuilderList
public List<? extends QuotaOrBuilder> getQuotasOrBuilderList()
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
- Specified by:
getQuotasOrBuilderList
in interfaceRegionOrBuilder
-
addQuotasBuilder
public Quota.Builder addQuotasBuilder()
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
addQuotasBuilder
public Quota.Builder addQuotasBuilder(int index)
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
getQuotasBuilderList
public List<Quota.Builder> getQuotasBuilderList()
[Output Only] Quotas assigned to this region.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Specified by:
hasSelfLink
in interfaceRegionOrBuilder
- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Specified by:
getSelfLink
in interfaceRegionOrBuilder
- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Specified by:
getSelfLinkBytes
in interfaceRegionOrBuilder
- Returns:
- The bytes for selfLink.
-
setSelfLink
public Region.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Parameters:
value
- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
public Region.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- This builder for chaining.
-
setSelfLinkBytes
public Region.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Parameters:
value
- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
hasStatus
public boolean hasStatus()
[Output Only] Status of the region, either UP or DOWN. Check the Status enum for the list of possible values.
optional string status = 181260274;
- Specified by:
hasStatus
in interfaceRegionOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
public String getStatus()
[Output Only] Status of the region, either UP or DOWN. Check the Status enum for the list of possible values.
optional string status = 181260274;
- Specified by:
getStatus
in interfaceRegionOrBuilder
- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()
[Output Only] Status of the region, either UP or DOWN. Check the Status enum for the list of possible values.
optional string status = 181260274;
- Specified by:
getStatusBytes
in interfaceRegionOrBuilder
- Returns:
- The bytes for status.
-
setStatus
public Region.Builder setStatus(String value)
[Output Only] Status of the region, either UP or DOWN. Check the Status enum for the list of possible values.
optional string status = 181260274;
- Parameters:
value
- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public Region.Builder clearStatus()
[Output Only] Status of the region, either UP or DOWN. Check the Status enum for the list of possible values.
optional string status = 181260274;
- Returns:
- This builder for chaining.
-
setStatusBytes
public Region.Builder setStatusBytes(com.google.protobuf.ByteString value)
[Output Only] Status of the region, either UP or DOWN. Check the Status enum for the list of possible values.
optional string status = 181260274;
- Parameters:
value
- The bytes for status to set.- Returns:
- This builder for chaining.
-
hasSupportsPzs
public boolean hasSupportsPzs()
[Output Only] Reserved for future use.
optional bool supports_pzs = 83983214;
- Specified by:
hasSupportsPzs
in interfaceRegionOrBuilder
- Returns:
- Whether the supportsPzs field is set.
-
getSupportsPzs
public boolean getSupportsPzs()
[Output Only] Reserved for future use.
optional bool supports_pzs = 83983214;
- Specified by:
getSupportsPzs
in interfaceRegionOrBuilder
- Returns:
- The supportsPzs.
-
setSupportsPzs
public Region.Builder setSupportsPzs(boolean value)
[Output Only] Reserved for future use.
optional bool supports_pzs = 83983214;
- Parameters:
value
- The supportsPzs to set.- Returns:
- This builder for chaining.
-
clearSupportsPzs
public Region.Builder clearSupportsPzs()
[Output Only] Reserved for future use.
optional bool supports_pzs = 83983214;
- Returns:
- This builder for chaining.
-
getZonesList
public com.google.protobuf.ProtocolStringList getZonesList()
[Output Only] A list of zones available in this region, in the form of resource URLs.
repeated string zones = 116085319;
- Specified by:
getZonesList
in interfaceRegionOrBuilder
- Returns:
- A list containing the zones.
-
getZonesCount
public int getZonesCount()
[Output Only] A list of zones available in this region, in the form of resource URLs.
repeated string zones = 116085319;
- Specified by:
getZonesCount
in interfaceRegionOrBuilder
- Returns:
- The count of zones.
-
getZones
public String getZones(int index)
[Output Only] A list of zones available in this region, in the form of resource URLs.
repeated string zones = 116085319;
- Specified by:
getZones
in interfaceRegionOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The zones at the given index.
-
getZonesBytes
public com.google.protobuf.ByteString getZonesBytes(int index)
[Output Only] A list of zones available in this region, in the form of resource URLs.
repeated string zones = 116085319;
- Specified by:
getZonesBytes
in interfaceRegionOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the zones at the given index.
-
setZones
public Region.Builder setZones(int index, String value)
[Output Only] A list of zones available in this region, in the form of resource URLs.
repeated string zones = 116085319;
- Parameters:
index
- The index to set the value at.value
- The zones to set.- Returns:
- This builder for chaining.
-
addZones
public Region.Builder addZones(String value)
[Output Only] A list of zones available in this region, in the form of resource URLs.
repeated string zones = 116085319;
- Parameters:
value
- The zones to add.- Returns:
- This builder for chaining.
-
addAllZones
public Region.Builder addAllZones(Iterable<String> values)
[Output Only] A list of zones available in this region, in the form of resource URLs.
repeated string zones = 116085319;
- Parameters:
values
- The zones to add.- Returns:
- This builder for chaining.
-
clearZones
public Region.Builder clearZones()
[Output Only] A list of zones available in this region, in the form of resource URLs.
repeated string zones = 116085319;
- Returns:
- This builder for chaining.
-
addZonesBytes
public Region.Builder addZonesBytes(com.google.protobuf.ByteString value)
[Output Only] A list of zones available in this region, in the form of resource URLs.
repeated string zones = 116085319;
- Parameters:
value
- The bytes of the zones to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Region.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
-
mergeUnknownFields
public final Region.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
-
-