Class StartEnvironmentResponse (2.11.0)

public final class StartEnvironmentResponse extends GeneratedMessageV3 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 Fields

ENVIRONMENT_FIELD_NUMBER

public static final int ENVIRONMENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StartEnvironmentResponse getDefaultInstance()
Returns
TypeDescription
StartEnvironmentResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StartEnvironmentResponse.Builder newBuilder()
Returns
TypeDescription
StartEnvironmentResponse.Builder

newBuilder(StartEnvironmentResponse prototype)

public static StartEnvironmentResponse.Builder newBuilder(StartEnvironmentResponse prototype)
Parameter
NameDescription
prototypeStartEnvironmentResponse
Returns
TypeDescription
StartEnvironmentResponse.Builder

parseDelimitedFrom(InputStream input)

public static StartEnvironmentResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StartEnvironmentResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StartEnvironmentResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StartEnvironmentResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StartEnvironmentResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StartEnvironmentResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StartEnvironmentResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StartEnvironmentResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StartEnvironmentResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StartEnvironmentResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StartEnvironmentResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StartEnvironmentResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StartEnvironmentResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StartEnvironmentResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StartEnvironmentResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StartEnvironmentResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StartEnvironmentResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StartEnvironmentResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StartEnvironmentResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StartEnvironmentResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StartEnvironmentResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StartEnvironmentResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StartEnvironmentResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StartEnvironmentResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StartEnvironmentResponse> parser()
Returns
TypeDescription
Parser<StartEnvironmentResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public StartEnvironmentResponse getDefaultInstanceForType()
Returns
TypeDescription
StartEnvironmentResponse

getEnvironment()

public Environment getEnvironment()

Environment that was started.

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

Returns
TypeDescription
Environment

The environment.

getEnvironmentOrBuilder()

public EnvironmentOrBuilder getEnvironmentOrBuilder()

Environment that was started.

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

Returns
TypeDescription
EnvironmentOrBuilder

getParserForType()

public Parser<StartEnvironmentResponse> getParserForType()
Returns
TypeDescription
Parser<StartEnvironmentResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasEnvironment()

public boolean hasEnvironment()

Environment that was started.

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

Returns
TypeDescription
boolean

Whether the environment field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StartEnvironmentResponse.Builder newBuilderForType()
Returns
TypeDescription
StartEnvironmentResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StartEnvironmentResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StartEnvironmentResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StartEnvironmentResponse.Builder toBuilder()
Returns
TypeDescription
StartEnvironmentResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException