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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
public StartEnvironmentMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public StartEnvironmentMetadata build()
public StartEnvironmentMetadata buildPartial()
public StartEnvironmentMetadata.Builder clear()
Overrides
public StartEnvironmentMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public StartEnvironmentMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public StartEnvironmentMetadata.Builder clearState()
Current state of the environment being started.
.google.cloud.shell.v1.StartEnvironmentMetadata.State state = 1;
public StartEnvironmentMetadata.Builder clone()
Overrides
public StartEnvironmentMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public StartEnvironmentMetadata.State getState()
Current state of the environment being started.
.google.cloud.shell.v1.StartEnvironmentMetadata.State state = 1;
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()
Overrides
public final boolean isInitialized()
Overrides
public StartEnvironmentMetadata.Builder mergeFrom(StartEnvironmentMetadata other)
public StartEnvironmentMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public StartEnvironmentMetadata.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final StartEnvironmentMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public StartEnvironmentMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public StartEnvironmentMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public StartEnvironmentMetadata.Builder setState(StartEnvironmentMetadata.State value)
Current state of the environment being started.
.google.cloud.shell.v1.StartEnvironmentMetadata.State state = 1;
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.
|
public final StartEnvironmentMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides