Class StartEnvironmentResponse.Builder (2.8.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StartEnvironmentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StartEnvironmentResponse.Builder
Overrides

build()

public StartEnvironmentResponse build()
Returns
TypeDescription
StartEnvironmentResponse

buildPartial()

public StartEnvironmentResponse buildPartial()
Returns
TypeDescription
StartEnvironmentResponse

clear()

public StartEnvironmentResponse.Builder clear()
Returns
TypeDescription
StartEnvironmentResponse.Builder
Overrides

clearEnvironment()

public StartEnvironmentResponse.Builder clearEnvironment()

Environment that was started.

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

Returns
TypeDescription
StartEnvironmentResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public StartEnvironmentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
StartEnvironmentResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public StartEnvironmentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StartEnvironmentResponse.Builder
Overrides

clone()

public StartEnvironmentResponse.Builder clone()
Returns
TypeDescription
StartEnvironmentResponse.Builder
Overrides

getDefaultInstanceForType()

public StartEnvironmentResponse getDefaultInstanceForType()
Returns
TypeDescription
StartEnvironmentResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnvironment()

public Environment getEnvironment()

Environment that was started.

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

Returns
TypeDescription
Environment

The environment.

getEnvironmentBuilder()

public Environment.Builder getEnvironmentBuilder()

Environment that was started.

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

Returns
TypeDescription
Environment.Builder

getEnvironmentOrBuilder()

public EnvironmentOrBuilder getEnvironmentOrBuilder()

Environment that was started.

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

Returns
TypeDescription
EnvironmentOrBuilder

hasEnvironment()

public boolean hasEnvironment()

Environment that was started.

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

Returns
TypeDescription
boolean

Whether the environment field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeEnvironment(Environment value)

public StartEnvironmentResponse.Builder mergeEnvironment(Environment value)

Environment that was started.

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

Parameter
NameDescription
valueEnvironment
Returns
TypeDescription
StartEnvironmentResponse.Builder

mergeFrom(StartEnvironmentResponse other)

public StartEnvironmentResponse.Builder mergeFrom(StartEnvironmentResponse other)
Parameter
NameDescription
otherStartEnvironmentResponse
Returns
TypeDescription
StartEnvironmentResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StartEnvironmentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StartEnvironmentResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public StartEnvironmentResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
StartEnvironmentResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StartEnvironmentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StartEnvironmentResponse.Builder
Overrides

setEnvironment(Environment value)

public StartEnvironmentResponse.Builder setEnvironment(Environment value)

Environment that was started.

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

Parameter
NameDescription
valueEnvironment
Returns
TypeDescription
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
NameDescription
builderForValueEnvironment.Builder
Returns
TypeDescription
StartEnvironmentResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public StartEnvironmentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StartEnvironmentResponse.Builder
Overrides

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

public StartEnvironmentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StartEnvironmentResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StartEnvironmentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StartEnvironmentResponse.Builder
Overrides