public static final class AcceleratorType.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AcceleratorType.Builder> implements AcceleratorTypeOrBuilder
Represents an Accelerator Type resource. Google Cloud Platform provides graphics processing units (accelerators) that you can add to VM instances to improve or accelerate performance when working with intensive workloads. For more information, read GPUs on Compute Engine.Protobuf type
google.cloud.compute.v1.AcceleratorType| Modifier and Type | Method and Description |
|---|---|
AcceleratorType.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AcceleratorType |
build() |
AcceleratorType |
buildPartial() |
AcceleratorType.Builder |
clear() |
AcceleratorType.Builder |
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
AcceleratorType.Builder |
clearDeprecated()
[Output Only] The deprecation status associated with this accelerator type.
|
AcceleratorType.Builder |
clearDescription()
[Output Only] An optional textual description of the resource.
|
AcceleratorType.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AcceleratorType.Builder |
clearId()
[Output Only] The unique identifier for the resource.
|
AcceleratorType.Builder |
clearKind()
[Output Only] The type of the resource.
|
AcceleratorType.Builder |
clearMaximumCardsPerInstance()
[Output Only] Maximum number of accelerator cards allowed per instance.
|
AcceleratorType.Builder |
clearName()
[Output Only] Name of the resource.
|
AcceleratorType.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AcceleratorType.Builder |
clearSelfLink()
[Output Only] Server-defined, fully qualified URL for this resource.
|
AcceleratorType.Builder |
clearZone()
[Output Only] The name of the zone where the accelerator type resides, such as us-central1-a.
|
AcceleratorType.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.
|
AcceleratorType |
getDefaultInstanceForType() |
DeprecationStatus |
getDeprecated()
[Output Only] The deprecation status associated with this accelerator type.
|
DeprecationStatus.Builder |
getDeprecatedBuilder()
[Output Only] The deprecation status associated with this accelerator type.
|
DeprecationStatusOrBuilder |
getDeprecatedOrBuilder()
[Output Only] The deprecation status associated with this accelerator type.
|
String |
getDescription()
[Output Only] An optional textual description of the resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
[Output Only] An optional 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] The type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] The type of the resource.
|
int |
getMaximumCardsPerInstance()
[Output Only] Maximum number of accelerator cards allowed per instance.
|
String |
getName()
[Output Only] Name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
[Output Only] Name of the resource.
|
String |
getSelfLink()
[Output Only] Server-defined, fully qualified URL for this resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined, fully qualified URL for this resource.
|
String |
getZone()
[Output Only] The name of the zone where the accelerator type resides, such as us-central1-a.
|
com.google.protobuf.ByteString |
getZoneBytes()
[Output Only] The name of the zone where the accelerator type resides, such as us-central1-a.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDeprecated()
[Output Only] The deprecation status associated with this accelerator type.
|
boolean |
hasDescription()
[Output Only] An optional textual description of the resource.
|
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasKind()
[Output Only] The type of the resource.
|
boolean |
hasMaximumCardsPerInstance()
[Output Only] Maximum number of accelerator cards allowed per instance.
|
boolean |
hasName()
[Output Only] Name of the resource.
|
boolean |
hasSelfLink()
[Output Only] Server-defined, fully qualified URL for this resource.
|
boolean |
hasZone()
[Output Only] The name of the zone where the accelerator type resides, such as us-central1-a.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AcceleratorType.Builder |
mergeDeprecated(DeprecationStatus value)
[Output Only] The deprecation status associated with this accelerator type.
|
AcceleratorType.Builder |
mergeFrom(AcceleratorType other) |
AcceleratorType.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AcceleratorType.Builder |
mergeFrom(com.google.protobuf.Message other) |
AcceleratorType.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AcceleratorType.Builder |
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
|
AcceleratorType.Builder |
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
|
AcceleratorType.Builder |
setDeprecated(DeprecationStatus.Builder builderForValue)
[Output Only] The deprecation status associated with this accelerator type.
|
AcceleratorType.Builder |
setDeprecated(DeprecationStatus value)
[Output Only] The deprecation status associated with this accelerator type.
|
AcceleratorType.Builder |
setDescription(String value)
[Output Only] An optional textual description of the resource.
|
AcceleratorType.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
[Output Only] An optional textual description of the resource.
|
AcceleratorType.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AcceleratorType.Builder |
setId(long value)
[Output Only] The unique identifier for the resource.
|
AcceleratorType.Builder |
setKind(String value)
[Output Only] The type of the resource.
|
AcceleratorType.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] The type of the resource.
|
AcceleratorType.Builder |
setMaximumCardsPerInstance(int value)
[Output Only] Maximum number of accelerator cards allowed per instance.
|
AcceleratorType.Builder |
setName(String value)
[Output Only] Name of the resource.
|
AcceleratorType.Builder |
setNameBytes(com.google.protobuf.ByteString value)
[Output Only] Name of the resource.
|
AcceleratorType.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AcceleratorType.Builder |
setSelfLink(String value)
[Output Only] Server-defined, fully qualified URL for this resource.
|
AcceleratorType.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined, fully qualified URL for this resource.
|
AcceleratorType.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AcceleratorType.Builder |
setZone(String value)
[Output Only] The name of the zone where the accelerator type resides, such as us-central1-a.
|
AcceleratorType.Builder |
setZoneBytes(com.google.protobuf.ByteString value)
[Output Only] The name of the zone where the accelerator type resides, such as us-central1-a.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AcceleratorType.Builder>public AcceleratorType.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AcceleratorType.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AcceleratorType.Builder>public AcceleratorType getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AcceleratorType build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AcceleratorType buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AcceleratorType.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AcceleratorType.Builder>public AcceleratorType.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AcceleratorType.Builder>public AcceleratorType.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AcceleratorType.Builder>public AcceleratorType.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AcceleratorType.Builder>public AcceleratorType.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AcceleratorType.Builder>public AcceleratorType.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AcceleratorType.Builder>public AcceleratorType.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AcceleratorType.Builder>public AcceleratorType.Builder mergeFrom(AcceleratorType other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AcceleratorType.Builder>public AcceleratorType.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AcceleratorType.Builder>IOExceptionpublic boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface AcceleratorTypeOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface AcceleratorTypeOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface AcceleratorTypeOrBuilderpublic AcceleratorType.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The creationTimestamp to set.public AcceleratorType.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;public AcceleratorType.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The bytes for creationTimestamp to set.public boolean hasDeprecated()
[Output Only] The deprecation status associated with this accelerator type.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;hasDeprecated in interface AcceleratorTypeOrBuilderpublic DeprecationStatus getDeprecated()
[Output Only] The deprecation status associated with this accelerator type.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;getDeprecated in interface AcceleratorTypeOrBuilderpublic AcceleratorType.Builder setDeprecated(DeprecationStatus value)
[Output Only] The deprecation status associated with this accelerator type.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;public AcceleratorType.Builder setDeprecated(DeprecationStatus.Builder builderForValue)
[Output Only] The deprecation status associated with this accelerator type.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;public AcceleratorType.Builder mergeDeprecated(DeprecationStatus value)
[Output Only] The deprecation status associated with this accelerator type.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;public AcceleratorType.Builder clearDeprecated()
[Output Only] The deprecation status associated with this accelerator type.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;public DeprecationStatus.Builder getDeprecatedBuilder()
[Output Only] The deprecation status associated with this accelerator type.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;public DeprecationStatusOrBuilder getDeprecatedOrBuilder()
[Output Only] The deprecation status associated with this accelerator type.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;getDeprecatedOrBuilder in interface AcceleratorTypeOrBuilderpublic boolean hasDescription()
[Output Only] An optional textual description of the resource.
optional string description = 422937596;hasDescription in interface AcceleratorTypeOrBuilderpublic String getDescription()
[Output Only] An optional textual description of the resource.
optional string description = 422937596;getDescription in interface AcceleratorTypeOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
[Output Only] An optional textual description of the resource.
optional string description = 422937596;getDescriptionBytes in interface AcceleratorTypeOrBuilderpublic AcceleratorType.Builder setDescription(String value)
[Output Only] An optional textual description of the resource.
optional string description = 422937596;value - The description to set.public AcceleratorType.Builder clearDescription()
[Output Only] An optional textual description of the resource.
optional string description = 422937596;public AcceleratorType.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
[Output Only] An optional textual description of the resource.
optional string description = 422937596;value - The bytes for description to set.public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface AcceleratorTypeOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface AcceleratorTypeOrBuilderpublic AcceleratorType.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;value - The id to set.public AcceleratorType.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;public boolean hasKind()
[Output Only] The type of the resource. Always compute#acceleratorType for accelerator types.
optional string kind = 3292052;hasKind in interface AcceleratorTypeOrBuilderpublic String getKind()
[Output Only] The type of the resource. Always compute#acceleratorType for accelerator types.
optional string kind = 3292052;getKind in interface AcceleratorTypeOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] The type of the resource. Always compute#acceleratorType for accelerator types.
optional string kind = 3292052;getKindBytes in interface AcceleratorTypeOrBuilderpublic AcceleratorType.Builder setKind(String value)
[Output Only] The type of the resource. Always compute#acceleratorType for accelerator types.
optional string kind = 3292052;value - The kind to set.public AcceleratorType.Builder clearKind()
[Output Only] The type of the resource. Always compute#acceleratorType for accelerator types.
optional string kind = 3292052;public AcceleratorType.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] The type of the resource. Always compute#acceleratorType for accelerator types.
optional string kind = 3292052;value - The bytes for kind to set.public boolean hasMaximumCardsPerInstance()
[Output Only] Maximum number of accelerator cards allowed per instance.
optional int32 maximum_cards_per_instance = 263814482;hasMaximumCardsPerInstance in interface AcceleratorTypeOrBuilderpublic int getMaximumCardsPerInstance()
[Output Only] Maximum number of accelerator cards allowed per instance.
optional int32 maximum_cards_per_instance = 263814482;getMaximumCardsPerInstance in interface AcceleratorTypeOrBuilderpublic AcceleratorType.Builder setMaximumCardsPerInstance(int value)
[Output Only] Maximum number of accelerator cards allowed per instance.
optional int32 maximum_cards_per_instance = 263814482;value - The maximumCardsPerInstance to set.public AcceleratorType.Builder clearMaximumCardsPerInstance()
[Output Only] Maximum number of accelerator cards allowed per instance.
optional int32 maximum_cards_per_instance = 263814482;public boolean hasName()
[Output Only] Name of the resource.
optional string name = 3373707;hasName in interface AcceleratorTypeOrBuilderpublic String getName()
[Output Only] Name of the resource.
optional string name = 3373707;getName in interface AcceleratorTypeOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
[Output Only] Name of the resource.
optional string name = 3373707;getNameBytes in interface AcceleratorTypeOrBuilderpublic AcceleratorType.Builder setName(String value)
[Output Only] Name of the resource.
optional string name = 3373707;value - The name to set.public AcceleratorType.Builder clearName()
[Output Only] Name of the resource.
optional string name = 3373707;public AcceleratorType.Builder setNameBytes(com.google.protobuf.ByteString value)
[Output Only] Name of the resource.
optional string name = 3373707;value - The bytes for name to set.public boolean hasSelfLink()
[Output Only] Server-defined, fully qualified URL for this resource.
optional string self_link = 456214797;hasSelfLink in interface AcceleratorTypeOrBuilderpublic String getSelfLink()
[Output Only] Server-defined, fully qualified URL for this resource.
optional string self_link = 456214797;getSelfLink in interface AcceleratorTypeOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined, fully qualified URL for this resource.
optional string self_link = 456214797;getSelfLinkBytes in interface AcceleratorTypeOrBuilderpublic AcceleratorType.Builder setSelfLink(String value)
[Output Only] Server-defined, fully qualified URL for this resource.
optional string self_link = 456214797;value - The selfLink to set.public AcceleratorType.Builder clearSelfLink()
[Output Only] Server-defined, fully qualified URL for this resource.
optional string self_link = 456214797;public AcceleratorType.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined, fully qualified URL for this resource.
optional string self_link = 456214797;value - The bytes for selfLink to set.public boolean hasZone()
[Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;hasZone in interface AcceleratorTypeOrBuilderpublic String getZone()
[Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;getZone in interface AcceleratorTypeOrBuilderpublic com.google.protobuf.ByteString getZoneBytes()
[Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;getZoneBytes in interface AcceleratorTypeOrBuilderpublic AcceleratorType.Builder setZone(String value)
[Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;value - The zone to set.public AcceleratorType.Builder clearZone()
[Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;public AcceleratorType.Builder setZoneBytes(com.google.protobuf.ByteString value)
[Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;value - The bytes for zone to set.public final AcceleratorType.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AcceleratorType.Builder>public final AcceleratorType.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AcceleratorType.Builder>Copyright © 2023 Google LLC. All rights reserved.