Class ServerBinding (1.28.0)

public final class ServerBinding extends GeneratedMessageV3 implements ServerBindingOrBuilder

Protobuf type google.cloud.compute.v1.ServerBinding

Static Fields

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ServerBinding getDefaultInstance()
Returns
TypeDescription
ServerBinding

getDescriptor()

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

newBuilder()

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

newBuilder(ServerBinding prototype)

public static ServerBinding.Builder newBuilder(ServerBinding prototype)
Parameter
NameDescription
prototypeServerBinding
Returns
TypeDescription
ServerBinding.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ServerBinding getDefaultInstanceForType()
Returns
TypeDescription
ServerBinding

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getType()

public String getType()

Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
TypeDescription
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
TypeDescription
ByteString

The bytes for type.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasType()

public boolean hasType()

Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
TypeDescription
boolean

Whether the type 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 ServerBinding.Builder newBuilderForType()
Returns
TypeDescription
ServerBinding.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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