public static final class PreviewFeature.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PreviewFeature.Builder> implements PreviewFeatureOrBuilder
Represents a single Google Compute Engine preview feature.Protobuf type
google.cloud.compute.v1.PreviewFeature| Modifier and Type | Method and Description |
|---|---|
PreviewFeature.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PreviewFeature |
build() |
PreviewFeature |
buildPartial() |
PreviewFeature.Builder |
clear() |
PreviewFeature.Builder |
clearActivationStatus()
Specifies whether the feature is enabled or disabled.
|
PreviewFeature.Builder |
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
PreviewFeature.Builder |
clearDescription()
[Output Only] Description of the feature.
|
PreviewFeature.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PreviewFeature.Builder |
clearId()
[Output Only] The unique identifier for the resource.
|
PreviewFeature.Builder |
clearKind()
[Output only] The type of the feature.
|
PreviewFeature.Builder |
clearName()
Name of the feature.
|
PreviewFeature.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PreviewFeature.Builder |
clearRolloutOperation()
Rollout operation of the feature.
|
PreviewFeature.Builder |
clearSelfLink()
[Output Only] Server-defined URL for the resource.
|
PreviewFeature.Builder |
clearStatus()
[Output only] Status of the feature.
|
PreviewFeature.Builder |
clone() |
String |
getActivationStatus()
Specifies whether the feature is enabled or disabled.
|
com.google.protobuf.ByteString |
getActivationStatusBytes()
Specifies whether the feature is enabled or disabled.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
PreviewFeature |
getDefaultInstanceForType() |
String |
getDescription()
[Output Only] Description of the feature.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
[Output Only] Description of the feature.
|
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 feature.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output only] The type of the feature.
|
String |
getName()
Name of the feature.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the feature.
|
PreviewFeatureRolloutOperation |
getRolloutOperation()
Rollout operation of the feature.
|
PreviewFeatureRolloutOperation.Builder |
getRolloutOperationBuilder()
Rollout operation of the feature.
|
PreviewFeatureRolloutOperationOrBuilder |
getRolloutOperationOrBuilder()
Rollout operation of the feature.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
PreviewFeatureStatus |
getStatus()
[Output only] Status of the feature.
|
PreviewFeatureStatus.Builder |
getStatusBuilder()
[Output only] Status of the feature.
|
PreviewFeatureStatusOrBuilder |
getStatusOrBuilder()
[Output only] Status of the feature.
|
boolean |
hasActivationStatus()
Specifies whether the feature is enabled or disabled.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDescription()
[Output Only] Description of the feature.
|
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasKind()
[Output only] The type of the feature.
|
boolean |
hasName()
Name of the feature.
|
boolean |
hasRolloutOperation()
Rollout operation of the feature.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasStatus()
[Output only] Status of the feature.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PreviewFeature.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PreviewFeature.Builder |
mergeFrom(com.google.protobuf.Message other) |
PreviewFeature.Builder |
mergeFrom(PreviewFeature other) |
PreviewFeature.Builder |
mergeRolloutOperation(PreviewFeatureRolloutOperation value)
Rollout operation of the feature.
|
PreviewFeature.Builder |
mergeStatus(PreviewFeatureStatus value)
[Output only] Status of the feature.
|
PreviewFeature.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PreviewFeature.Builder |
setActivationStatus(String value)
Specifies whether the feature is enabled or disabled.
|
PreviewFeature.Builder |
setActivationStatusBytes(com.google.protobuf.ByteString value)
Specifies whether the feature is enabled or disabled.
|
PreviewFeature.Builder |
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
|
PreviewFeature.Builder |
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
|
PreviewFeature.Builder |
setDescription(String value)
[Output Only] Description of the feature.
|
PreviewFeature.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
[Output Only] Description of the feature.
|
PreviewFeature.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PreviewFeature.Builder |
setId(long value)
[Output Only] The unique identifier for the resource.
|
PreviewFeature.Builder |
setKind(String value)
[Output only] The type of the feature.
|
PreviewFeature.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output only] The type of the feature.
|
PreviewFeature.Builder |
setName(String value)
Name of the feature.
|
PreviewFeature.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the feature.
|
PreviewFeature.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PreviewFeature.Builder |
setRolloutOperation(PreviewFeatureRolloutOperation.Builder builderForValue)
Rollout operation of the feature.
|
PreviewFeature.Builder |
setRolloutOperation(PreviewFeatureRolloutOperation value)
Rollout operation of the feature.
|
PreviewFeature.Builder |
setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
|
PreviewFeature.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
|
PreviewFeature.Builder |
setStatus(PreviewFeatureStatus.Builder builderForValue)
[Output only] Status of the feature.
|
PreviewFeature.Builder |
setStatus(PreviewFeatureStatus value)
[Output only] Status of the feature.
|
PreviewFeature.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PreviewFeature.Builder>public PreviewFeature.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PreviewFeature.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<PreviewFeature.Builder>public PreviewFeature getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PreviewFeature build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PreviewFeature buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PreviewFeature.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PreviewFeature.Builder>public PreviewFeature.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<PreviewFeature.Builder>public PreviewFeature.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PreviewFeature.Builder>public PreviewFeature.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PreviewFeature.Builder>public PreviewFeature.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<PreviewFeature.Builder>public PreviewFeature.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<PreviewFeature.Builder>public PreviewFeature.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PreviewFeature.Builder>public PreviewFeature.Builder mergeFrom(PreviewFeature other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PreviewFeature.Builder>public PreviewFeature.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<PreviewFeature.Builder>IOExceptionpublic boolean hasActivationStatus()
Specifies whether the feature is enabled or disabled. Check the ActivationStatus enum for the list of possible values.
optional string activation_status = 71960379;hasActivationStatus in interface PreviewFeatureOrBuilderpublic String getActivationStatus()
Specifies whether the feature is enabled or disabled. Check the ActivationStatus enum for the list of possible values.
optional string activation_status = 71960379;getActivationStatus in interface PreviewFeatureOrBuilderpublic com.google.protobuf.ByteString getActivationStatusBytes()
Specifies whether the feature is enabled or disabled. Check the ActivationStatus enum for the list of possible values.
optional string activation_status = 71960379;getActivationStatusBytes in interface PreviewFeatureOrBuilderpublic PreviewFeature.Builder setActivationStatus(String value)
Specifies whether the feature is enabled or disabled. Check the ActivationStatus enum for the list of possible values.
optional string activation_status = 71960379;value - The activationStatus to set.public PreviewFeature.Builder clearActivationStatus()
Specifies whether the feature is enabled or disabled. Check the ActivationStatus enum for the list of possible values.
optional string activation_status = 71960379;public PreviewFeature.Builder setActivationStatusBytes(com.google.protobuf.ByteString value)
Specifies whether the feature is enabled or disabled. Check the ActivationStatus enum for the list of possible values.
optional string activation_status = 71960379;value - The bytes for activationStatus to set.public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface PreviewFeatureOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface PreviewFeatureOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface PreviewFeatureOrBuilderpublic PreviewFeature.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The creationTimestamp to set.public PreviewFeature.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;public PreviewFeature.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 hasDescription()
[Output Only] Description of the feature.
optional string description = 422937596;hasDescription in interface PreviewFeatureOrBuilderpublic String getDescription()
[Output Only] Description of the feature.
optional string description = 422937596;getDescription in interface PreviewFeatureOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
[Output Only] Description of the feature.
optional string description = 422937596;getDescriptionBytes in interface PreviewFeatureOrBuilderpublic PreviewFeature.Builder setDescription(String value)
[Output Only] Description of the feature.
optional string description = 422937596;value - The description to set.public PreviewFeature.Builder clearDescription()
[Output Only] Description of the feature.
optional string description = 422937596;public PreviewFeature.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
[Output Only] Description of the feature.
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 PreviewFeatureOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface PreviewFeatureOrBuilderpublic PreviewFeature.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 PreviewFeature.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 feature. Always "compute#previewFeature" for preview features.
optional string kind = 3292052;hasKind in interface PreviewFeatureOrBuilderpublic String getKind()
[Output only] The type of the feature. Always "compute#previewFeature" for preview features.
optional string kind = 3292052;getKind in interface PreviewFeatureOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output only] The type of the feature. Always "compute#previewFeature" for preview features.
optional string kind = 3292052;getKindBytes in interface PreviewFeatureOrBuilderpublic PreviewFeature.Builder setKind(String value)
[Output only] The type of the feature. Always "compute#previewFeature" for preview features.
optional string kind = 3292052;value - The kind to set.public PreviewFeature.Builder clearKind()
[Output only] The type of the feature. Always "compute#previewFeature" for preview features.
optional string kind = 3292052;public PreviewFeature.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output only] The type of the feature. Always "compute#previewFeature" for preview features.
optional string kind = 3292052;value - The bytes for kind to set.public boolean hasName()
Name of the feature.
optional string name = 3373707;hasName in interface PreviewFeatureOrBuilderpublic String getName()
Name of the feature.
optional string name = 3373707;getName in interface PreviewFeatureOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the feature.
optional string name = 3373707;getNameBytes in interface PreviewFeatureOrBuilderpublic PreviewFeature.Builder setName(String value)
Name of the feature.
optional string name = 3373707;value - The name to set.public PreviewFeature.Builder clearName()
Name of the feature.
optional string name = 3373707;public PreviewFeature.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the feature.
optional string name = 3373707;value - The bytes for name to set.public boolean hasRolloutOperation()
Rollout operation of the feature.
optional .google.cloud.compute.v1.PreviewFeatureRolloutOperation rollout_operation = 486746201;
hasRolloutOperation in interface PreviewFeatureOrBuilderpublic PreviewFeatureRolloutOperation getRolloutOperation()
Rollout operation of the feature.
optional .google.cloud.compute.v1.PreviewFeatureRolloutOperation rollout_operation = 486746201;
getRolloutOperation in interface PreviewFeatureOrBuilderpublic PreviewFeature.Builder setRolloutOperation(PreviewFeatureRolloutOperation value)
Rollout operation of the feature.
optional .google.cloud.compute.v1.PreviewFeatureRolloutOperation rollout_operation = 486746201;
public PreviewFeature.Builder setRolloutOperation(PreviewFeatureRolloutOperation.Builder builderForValue)
Rollout operation of the feature.
optional .google.cloud.compute.v1.PreviewFeatureRolloutOperation rollout_operation = 486746201;
public PreviewFeature.Builder mergeRolloutOperation(PreviewFeatureRolloutOperation value)
Rollout operation of the feature.
optional .google.cloud.compute.v1.PreviewFeatureRolloutOperation rollout_operation = 486746201;
public PreviewFeature.Builder clearRolloutOperation()
Rollout operation of the feature.
optional .google.cloud.compute.v1.PreviewFeatureRolloutOperation rollout_operation = 486746201;
public PreviewFeatureRolloutOperation.Builder getRolloutOperationBuilder()
Rollout operation of the feature.
optional .google.cloud.compute.v1.PreviewFeatureRolloutOperation rollout_operation = 486746201;
public PreviewFeatureRolloutOperationOrBuilder getRolloutOperationOrBuilder()
Rollout operation of the feature.
optional .google.cloud.compute.v1.PreviewFeatureRolloutOperation rollout_operation = 486746201;
getRolloutOperationOrBuilder in interface PreviewFeatureOrBuilderpublic boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface PreviewFeatureOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface PreviewFeatureOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface PreviewFeatureOrBuilderpublic PreviewFeature.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The selfLink to set.public PreviewFeature.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;public PreviewFeature.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The bytes for selfLink to set.public boolean hasStatus()
[Output only] Status of the feature.
optional .google.cloud.compute.v1.PreviewFeatureStatus status = 181260274;hasStatus in interface PreviewFeatureOrBuilderpublic PreviewFeatureStatus getStatus()
[Output only] Status of the feature.
optional .google.cloud.compute.v1.PreviewFeatureStatus status = 181260274;getStatus in interface PreviewFeatureOrBuilderpublic PreviewFeature.Builder setStatus(PreviewFeatureStatus value)
[Output only] Status of the feature.
optional .google.cloud.compute.v1.PreviewFeatureStatus status = 181260274;public PreviewFeature.Builder setStatus(PreviewFeatureStatus.Builder builderForValue)
[Output only] Status of the feature.
optional .google.cloud.compute.v1.PreviewFeatureStatus status = 181260274;public PreviewFeature.Builder mergeStatus(PreviewFeatureStatus value)
[Output only] Status of the feature.
optional .google.cloud.compute.v1.PreviewFeatureStatus status = 181260274;public PreviewFeature.Builder clearStatus()
[Output only] Status of the feature.
optional .google.cloud.compute.v1.PreviewFeatureStatus status = 181260274;public PreviewFeatureStatus.Builder getStatusBuilder()
[Output only] Status of the feature.
optional .google.cloud.compute.v1.PreviewFeatureStatus status = 181260274;public PreviewFeatureStatusOrBuilder getStatusOrBuilder()
[Output only] Status of the feature.
optional .google.cloud.compute.v1.PreviewFeatureStatus status = 181260274;getStatusOrBuilder in interface PreviewFeatureOrBuilderpublic final PreviewFeature.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PreviewFeature.Builder>public final PreviewFeature.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PreviewFeature.Builder>Copyright © 2025 Google LLC. All rights reserved.