- 1.86.0 (latest)
- 1.85.0
- 1.84.0
- 1.83.0
- 1.82.0
- 1.80.0
- 1.78.0
- 1.77.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class PreviewFeature.Builder extends GeneratedMessageV3.Builder<PreviewFeature.Builder> implements PreviewFeatureOrBuilderRepresents a single Google Compute Engine preview feature.
Protobuf type google.cloud.compute.v1.PreviewFeature
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PreviewFeature.BuilderImplements
PreviewFeatureOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PreviewFeature.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
|
build()
public PreviewFeature build()| Returns | |
|---|---|
| Type | Description |
PreviewFeature |
|
buildPartial()
public PreviewFeature buildPartial()| Returns | |
|---|---|
| Type | Description |
PreviewFeature |
|
clear()
public PreviewFeature.Builder clear()| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
|
clearActivationStatus()
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;
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
This builder for chaining. |
clearCreationTimestamp()
public PreviewFeature.Builder clearCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
This builder for chaining. |
clearDescription()
public PreviewFeature.Builder clearDescription()[Output Only] Description of the feature.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PreviewFeature.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
|
clearId()
public PreviewFeature.Builder clearId()[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
This builder for chaining. |
clearKind()
public PreviewFeature.Builder clearKind()[Output only] The type of the feature. Always "compute#previewFeature" for preview features.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
This builder for chaining. |
clearName()
public PreviewFeature.Builder clearName()Name of the feature.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PreviewFeature.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
|
clearRolloutOperation()
public PreviewFeature.Builder clearRolloutOperation()Rollout operation of the feature.
optional .google.cloud.compute.v1.PreviewFeatureRolloutOperation rollout_operation = 486746201;
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
|
clearSelfLink()
public PreviewFeature.Builder clearSelfLink()[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
This builder for chaining. |
clearStatus()
public PreviewFeature.Builder clearStatus()[Output only] Status of the feature.
optional .google.cloud.compute.v1.PreviewFeatureStatus status = 181260274;
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
|
clone()
public PreviewFeature.Builder clone()| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
|
getActivationStatus()
public 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;
| Returns | |
|---|---|
| Type | Description |
String |
The activationStatus. |
getActivationStatusBytes()
public 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for activationStatus. |
getCreationTimestamp()
public String getCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
String |
The creationTimestamp. |
getCreationTimestampBytes()
public ByteString getCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for creationTimestamp. |
getDefaultInstanceForType()
public PreviewFeature getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PreviewFeature |
|
getDescription()
public String getDescription()[Output Only] Description of the feature.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()[Output Only] Description of the feature.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getId()
public long getId()[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
| Returns | |
|---|---|
| Type | Description |
long |
The id. |
getKind()
public String getKind()[Output only] The type of the feature. Always "compute#previewFeature" for preview features.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
String |
The kind. |
getKindBytes()
public ByteString getKindBytes()[Output only] The type of the feature. Always "compute#previewFeature" for preview features.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kind. |
getName()
public String getName()Name of the feature.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Name of the feature.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getRolloutOperation()
public PreviewFeatureRolloutOperation getRolloutOperation()Rollout operation of the feature.
optional .google.cloud.compute.v1.PreviewFeatureRolloutOperation rollout_operation = 486746201;
| Returns | |
|---|---|
| Type | Description |
PreviewFeatureRolloutOperation |
The rolloutOperation. |
getRolloutOperationBuilder()
public PreviewFeatureRolloutOperation.Builder getRolloutOperationBuilder()Rollout operation of the feature.
optional .google.cloud.compute.v1.PreviewFeatureRolloutOperation rollout_operation = 486746201;
| Returns | |
|---|---|
| Type | Description |
PreviewFeatureRolloutOperation.Builder |
|
getRolloutOperationOrBuilder()
public PreviewFeatureRolloutOperationOrBuilder getRolloutOperationOrBuilder()Rollout operation of the feature.
optional .google.cloud.compute.v1.PreviewFeatureRolloutOperation rollout_operation = 486746201;
| Returns | |
|---|---|
| Type | Description |
PreviewFeatureRolloutOperationOrBuilder |
|
getSelfLink()
public String getSelfLink()[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description |
String |
The selfLink. |
getSelfLinkBytes()
public ByteString getSelfLinkBytes()[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for selfLink. |
getStatus()
public PreviewFeatureStatus getStatus()[Output only] Status of the feature.
optional .google.cloud.compute.v1.PreviewFeatureStatus status = 181260274;
| Returns | |
|---|---|
| Type | Description |
PreviewFeatureStatus |
The status. |
getStatusBuilder()
public PreviewFeatureStatus.Builder getStatusBuilder()[Output only] Status of the feature.
optional .google.cloud.compute.v1.PreviewFeatureStatus status = 181260274;
| Returns | |
|---|---|
| Type | Description |
PreviewFeatureStatus.Builder |
|
getStatusOrBuilder()
public PreviewFeatureStatusOrBuilder getStatusOrBuilder()[Output only] Status of the feature.
optional .google.cloud.compute.v1.PreviewFeatureStatus status = 181260274;
| Returns | |
|---|---|
| Type | Description |
PreviewFeatureStatusOrBuilder |
|
hasActivationStatus()
public 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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the activationStatus field is set. |
hasCreationTimestamp()
public boolean hasCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the creationTimestamp field is set. |
hasDescription()
public boolean hasDescription()[Output Only] Description of the feature.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the description field is set. |
hasId()
public boolean hasId()[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the id field is set. |
hasKind()
public boolean hasKind()[Output only] The type of the feature. Always "compute#previewFeature" for preview features.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the kind field is set. |
hasName()
public boolean hasName()Name of the feature.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the name field is set. |
hasRolloutOperation()
public boolean hasRolloutOperation()Rollout operation of the feature.
optional .google.cloud.compute.v1.PreviewFeatureRolloutOperation rollout_operation = 486746201;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the rolloutOperation field is set. |
hasSelfLink()
public boolean hasSelfLink()[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the selfLink field is set. |
hasStatus()
public boolean hasStatus()[Output only] Status of the feature.
optional .google.cloud.compute.v1.PreviewFeatureStatus status = 181260274;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the status field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PreviewFeature other)
public PreviewFeature.Builder mergeFrom(PreviewFeature other)| Parameter | |
|---|---|
| Name | Description |
other |
PreviewFeature |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PreviewFeature.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PreviewFeature.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
|
mergeRolloutOperation(PreviewFeatureRolloutOperation value)
public PreviewFeature.Builder mergeRolloutOperation(PreviewFeatureRolloutOperation value)Rollout operation of the feature.
optional .google.cloud.compute.v1.PreviewFeatureRolloutOperation rollout_operation = 486746201;
| Parameter | |
|---|---|
| Name | Description |
value |
PreviewFeatureRolloutOperation |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
|
mergeStatus(PreviewFeatureStatus value)
public PreviewFeature.Builder mergeStatus(PreviewFeatureStatus value)[Output only] Status of the feature.
optional .google.cloud.compute.v1.PreviewFeatureStatus status = 181260274;
| Parameter | |
|---|---|
| Name | Description |
value |
PreviewFeatureStatus |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PreviewFeature.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
|
setActivationStatus(String value)
public 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe activationStatus to set. |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
This builder for chaining. |
setActivationStatusBytes(ByteString value)
public PreviewFeature.Builder setActivationStatusBytes(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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for activationStatus to set. |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
This builder for chaining. |
setCreationTimestamp(String value)
public PreviewFeature.Builder setCreationTimestamp(String value)[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe creationTimestamp to set. |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
This builder for chaining. |
setCreationTimestampBytes(ByteString value)
public PreviewFeature.Builder setCreationTimestampBytes(ByteString value)[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for creationTimestamp to set. |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
This builder for chaining. |
setDescription(String value)
public PreviewFeature.Builder setDescription(String value)[Output Only] Description of the feature.
optional string description = 422937596;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public PreviewFeature.Builder setDescriptionBytes(ByteString value)[Output Only] Description of the feature.
optional string description = 422937596;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PreviewFeature.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
|
setId(long value)
public PreviewFeature.Builder setId(long value)[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe id to set. |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
This builder for chaining. |
setKind(String value)
public PreviewFeature.Builder setKind(String value)[Output only] The type of the feature. Always "compute#previewFeature" for preview features.
optional string kind = 3292052;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe kind to set. |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
This builder for chaining. |
setKindBytes(ByteString value)
public PreviewFeature.Builder setKindBytes(ByteString value)[Output only] The type of the feature. Always "compute#previewFeature" for preview features.
optional string kind = 3292052;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for kind to set. |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
This builder for chaining. |
setName(String value)
public PreviewFeature.Builder setName(String value)Name of the feature.
optional string name = 3373707;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public PreviewFeature.Builder setNameBytes(ByteString value)Name of the feature.
optional string name = 3373707;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PreviewFeature.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
|
setRolloutOperation(PreviewFeatureRolloutOperation value)
public PreviewFeature.Builder setRolloutOperation(PreviewFeatureRolloutOperation value)Rollout operation of the feature.
optional .google.cloud.compute.v1.PreviewFeatureRolloutOperation rollout_operation = 486746201;
| Parameter | |
|---|---|
| Name | Description |
value |
PreviewFeatureRolloutOperation |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
|
setRolloutOperation(PreviewFeatureRolloutOperation.Builder builderForValue)
public PreviewFeature.Builder setRolloutOperation(PreviewFeatureRolloutOperation.Builder builderForValue)Rollout operation of the feature.
optional .google.cloud.compute.v1.PreviewFeatureRolloutOperation rollout_operation = 486746201;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PreviewFeatureRolloutOperation.Builder |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
|
setSelfLink(String value)
public PreviewFeature.Builder setSelfLink(String value)[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe selfLink to set. |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
This builder for chaining. |
setSelfLinkBytes(ByteString value)
public PreviewFeature.Builder setSelfLinkBytes(ByteString value)[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for selfLink to set. |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
This builder for chaining. |
setStatus(PreviewFeatureStatus value)
public PreviewFeature.Builder setStatus(PreviewFeatureStatus value)[Output only] Status of the feature.
optional .google.cloud.compute.v1.PreviewFeatureStatus status = 181260274;
| Parameter | |
|---|---|
| Name | Description |
value |
PreviewFeatureStatus |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
|
setStatus(PreviewFeatureStatus.Builder builderForValue)
public PreviewFeature.Builder setStatus(PreviewFeatureStatus.Builder builderForValue)[Output only] Status of the feature.
optional .google.cloud.compute.v1.PreviewFeatureStatus status = 181260274;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PreviewFeatureStatus.Builder |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final PreviewFeature.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
PreviewFeature.Builder |
|