public static final class StartEnvironmentMetadata.Builder extends GeneratedMessageV3.Builder<StartEnvironmentMetadata.Builder> implements StartEnvironmentMetadataOrBuilder
Message included in the metadata field of operations returned from
StartEnvironment.
Protobuf type google.cloud.shell.v1.StartEnvironmentMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public StartEnvironmentMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public StartEnvironmentMetadata build()
Returns
public StartEnvironmentMetadata buildPartial()
Returns
public StartEnvironmentMetadata.Builder clear()
Returns
Overrides
public StartEnvironmentMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public StartEnvironmentMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public StartEnvironmentMetadata.Builder clearState()
Current state of the environment being started.
.google.cloud.shell.v1.StartEnvironmentMetadata.State state = 1;
Returns
public StartEnvironmentMetadata.Builder clone()
Returns
Overrides
public StartEnvironmentMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public StartEnvironmentMetadata.State getState()
Current state of the environment being started.
.google.cloud.shell.v1.StartEnvironmentMetadata.State state = 1;
Returns
public int getStateValue()
Current state of the environment being started.
.google.cloud.shell.v1.StartEnvironmentMetadata.State state = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for state.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public StartEnvironmentMetadata.Builder mergeFrom(StartEnvironmentMetadata other)
Parameter
Returns
public StartEnvironmentMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public StartEnvironmentMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final StartEnvironmentMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public StartEnvironmentMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public StartEnvironmentMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public StartEnvironmentMetadata.Builder setState(StartEnvironmentMetadata.State value)
Current state of the environment being started.
.google.cloud.shell.v1.StartEnvironmentMetadata.State state = 1;
Parameter
Returns
public StartEnvironmentMetadata.Builder setStateValue(int value)
Current state of the environment being started.
.google.cloud.shell.v1.StartEnvironmentMetadata.State state = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for state to set.
|
Returns
public final StartEnvironmentMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides