Class StartEnvironmentResponse.Builder (2.42.0)

public static final class StartEnvironmentResponse.Builder extends GeneratedMessageV3.Builder<StartEnvironmentResponse.Builder> implements StartEnvironmentResponseOrBuilder

Message included in the response field of operations returned from StartEnvironment once the operation is complete.

Protobuf type google.cloud.shell.v1.StartEnvironmentResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StartEnvironmentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StartEnvironmentResponse.Builder
Overrides

build()

public StartEnvironmentResponse build()
Returns
Type Description
StartEnvironmentResponse

buildPartial()

public StartEnvironmentResponse buildPartial()
Returns
Type Description
StartEnvironmentResponse

clear()

public StartEnvironmentResponse.Builder clear()
Returns
Type Description
StartEnvironmentResponse.Builder
Overrides

clearEnvironment()

public StartEnvironmentResponse.Builder clearEnvironment()

Environment that was started.

.google.cloud.shell.v1.Environment environment = 1;

Returns
Type Description
StartEnvironmentResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public StartEnvironmentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StartEnvironmentResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public StartEnvironmentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StartEnvironmentResponse.Builder
Overrides

clone()

public StartEnvironmentResponse.Builder clone()
Returns
Type Description
StartEnvironmentResponse.Builder
Overrides

getDefaultInstanceForType()

public StartEnvironmentResponse getDefaultInstanceForType()
Returns
Type Description
StartEnvironmentResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnvironment()

public Environment getEnvironment()

Environment that was started.

.google.cloud.shell.v1.Environment environment = 1;

Returns
Type Description
Environment

The environment.

getEnvironmentBuilder()

public Environment.Builder getEnvironmentBuilder()

Environment that was started.

.google.cloud.shell.v1.Environment environment = 1;

Returns
Type Description
Environment.Builder

getEnvironmentOrBuilder()

public EnvironmentOrBuilder getEnvironmentOrBuilder()

Environment that was started.

.google.cloud.shell.v1.Environment environment = 1;

Returns
Type Description
EnvironmentOrBuilder

hasEnvironment()

public boolean hasEnvironment()

Environment that was started.

.google.cloud.shell.v1.Environment environment = 1;

Returns
Type Description
boolean

Whether the environment field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEnvironment(Environment value)

public StartEnvironmentResponse.Builder mergeEnvironment(Environment value)

Environment that was started.

.google.cloud.shell.v1.Environment environment = 1;

Parameter
Name Description
value Environment
Returns
Type Description
StartEnvironmentResponse.Builder

mergeFrom(StartEnvironmentResponse other)

public StartEnvironmentResponse.Builder mergeFrom(StartEnvironmentResponse other)
Parameter
Name Description
other StartEnvironmentResponse
Returns
Type Description
StartEnvironmentResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StartEnvironmentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StartEnvironmentResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StartEnvironmentResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StartEnvironmentResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StartEnvironmentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StartEnvironmentResponse.Builder
Overrides

setEnvironment(Environment value)

public StartEnvironmentResponse.Builder setEnvironment(Environment value)

Environment that was started.

.google.cloud.shell.v1.Environment environment = 1;

Parameter
Name Description
value Environment
Returns
Type Description
StartEnvironmentResponse.Builder

setEnvironment(Environment.Builder builderForValue)

public StartEnvironmentResponse.Builder setEnvironment(Environment.Builder builderForValue)

Environment that was started.

.google.cloud.shell.v1.Environment environment = 1;

Parameter
Name Description
builderForValue Environment.Builder
Returns
Type Description
StartEnvironmentResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public StartEnvironmentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StartEnvironmentResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StartEnvironmentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StartEnvironmentResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StartEnvironmentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StartEnvironmentResponse.Builder
Overrides