Class BackendServiceReference (1.56.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
Type Description
int

Static Methods

getDefaultInstance()

public static BackendServiceReference getDefaultInstance()
Returns
Type Description
BackendServiceReference

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BackendServiceReference.Builder newBuilder()
Returns
Type Description
BackendServiceReference.Builder

newBuilder(BackendServiceReference prototype)

public static BackendServiceReference.Builder newBuilder(BackendServiceReference prototype)
Parameter
Name Description
prototype BackendServiceReference
Returns
Type Description
BackendServiceReference.Builder

parseDelimitedFrom(InputStream input)

public static BackendServiceReference parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BackendServiceReference
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackendServiceReference parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendServiceReference
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BackendServiceReference parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BackendServiceReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BackendServiceReference parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendServiceReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BackendServiceReference parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BackendServiceReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BackendServiceReference parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendServiceReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BackendServiceReference parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BackendServiceReference
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BackendServiceReference parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendServiceReference
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BackendServiceReference parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BackendServiceReference
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackendServiceReference parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendServiceReference
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BackendServiceReference parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BackendServiceReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BackendServiceReference parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendServiceReference
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BackendServiceReference> parser()
Returns
Type Description
Parser<BackendServiceReference>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBackendService()

public String getBackendService()

optional string backend_service = 306946058;

Returns
Type Description
String

The backendService.

getBackendServiceBytes()

public ByteString getBackendServiceBytes()

optional string backend_service = 306946058;

Returns
Type Description
ByteString

The bytes for backendService.

getDefaultInstanceForType()

public BackendServiceReference getDefaultInstanceForType()
Returns
Type Description
BackendServiceReference

getParserForType()

public Parser<BackendServiceReference> getParserForType()
Returns
Type Description
Parser<BackendServiceReference>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasBackendService()

public boolean hasBackendService()

optional string backend_service = 306946058;

Returns
Type Description
boolean

Whether the backendService field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BackendServiceReference.Builder newBuilderForType()
Returns
Type Description
BackendServiceReference.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BackendServiceReference.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BackendServiceReference.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BackendServiceReference.Builder toBuilder()
Returns
Type Description
BackendServiceReference.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException