Class WorkstationConfig.Host (0.28.0)

public static final class WorkstationConfig.Host extends GeneratedMessageV3 implements WorkstationConfig.HostOrBuilder

Runtime host for a workstation.

Protobuf type google.cloud.workstations.v1beta.WorkstationConfig.Host

Static Fields

GCE_INSTANCE_FIELD_NUMBER

public static final int GCE_INSTANCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static WorkstationConfig.Host getDefaultInstance()
Returns
TypeDescription
WorkstationConfig.Host

getDescriptor()

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

newBuilder()

public static WorkstationConfig.Host.Builder newBuilder()
Returns
TypeDescription
WorkstationConfig.Host.Builder

newBuilder(WorkstationConfig.Host prototype)

public static WorkstationConfig.Host.Builder newBuilder(WorkstationConfig.Host prototype)
Parameter
NameDescription
prototypeWorkstationConfig.Host
Returns
TypeDescription
WorkstationConfig.Host.Builder

parseDelimitedFrom(InputStream input)

public static WorkstationConfig.Host parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WorkstationConfig.Host
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static WorkstationConfig.Host parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
WorkstationConfig.Host
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static WorkstationConfig.Host parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
WorkstationConfig.Host
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static WorkstationConfig.Host parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WorkstationConfig.Host
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static WorkstationConfig.Host parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
WorkstationConfig.Host
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<WorkstationConfig.Host> parser()
Returns
TypeDescription
Parser<Host>

Methods

equals(Object obj)

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

getConfigCase()

public WorkstationConfig.Host.ConfigCase getConfigCase()
Returns
TypeDescription
WorkstationConfig.Host.ConfigCase

getDefaultInstanceForType()

public WorkstationConfig.Host getDefaultInstanceForType()
Returns
TypeDescription
WorkstationConfig.Host

getGceInstance()

public WorkstationConfig.Host.GceInstance getGceInstance()

Specifies a Compute Engine instance as the host.

.google.cloud.workstations.v1beta.WorkstationConfig.Host.GceInstance gce_instance = 1;

Returns
TypeDescription
WorkstationConfig.Host.GceInstance

The gceInstance.

getGceInstanceOrBuilder()

public WorkstationConfig.Host.GceInstanceOrBuilder getGceInstanceOrBuilder()

Specifies a Compute Engine instance as the host.

.google.cloud.workstations.v1beta.WorkstationConfig.Host.GceInstance gce_instance = 1;

Returns
TypeDescription
WorkstationConfig.Host.GceInstanceOrBuilder

getParserForType()

public Parser<WorkstationConfig.Host> getParserForType()
Returns
TypeDescription
Parser<Host>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasGceInstance()

public boolean hasGceInstance()

Specifies a Compute Engine instance as the host.

.google.cloud.workstations.v1beta.WorkstationConfig.Host.GceInstance gce_instance = 1;

Returns
TypeDescription
boolean

Whether the gceInstance 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 WorkstationConfig.Host.Builder newBuilderForType()
Returns
TypeDescription
WorkstationConfig.Host.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public WorkstationConfig.Host.Builder toBuilder()
Returns
TypeDescription
WorkstationConfig.Host.Builder

writeTo(CodedOutputStream output)

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