Class BackendServiceReference (1.21.0)

public final class BackendServiceReference extends GeneratedMessageV3 implements BackendServiceReferenceOrBuilder

Protobuf type google.cloud.compute.v1.BackendServiceReference

Static Fields

BACKEND_SERVICE_FIELD_NUMBER

public static final int BACKEND_SERVICE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BackendServiceReference getDefaultInstance()
Returns
TypeDescription
BackendServiceReference

getDescriptor()

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

newBuilder()

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

newBuilder(BackendServiceReference prototype)

public static BackendServiceReference.Builder newBuilder(BackendServiceReference prototype)
Parameter
NameDescription
prototypeBackendServiceReference
Returns
TypeDescription
BackendServiceReference.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBackendService()

public String getBackendService()

optional string backend_service = 306946058;

Returns
TypeDescription
String

The backendService.

getBackendServiceBytes()

public ByteString getBackendServiceBytes()

optional string backend_service = 306946058;

Returns
TypeDescription
ByteString

The bytes for backendService.

getDefaultInstanceForType()

public BackendServiceReference getDefaultInstanceForType()
Returns
TypeDescription
BackendServiceReference

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasBackendService()

public boolean hasBackendService()

optional string backend_service = 306946058;

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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