Class LoadBalancer (2.49.0)

public final class LoadBalancer extends GeneratedMessageV3 implements LoadBalancerOrBuilder

Contains information related to the load balancer associated with the finding.

Protobuf type google.cloud.securitycenter.v2.LoadBalancer

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LoadBalancer getDefaultInstance()
Returns
TypeDescription
LoadBalancer

getDescriptor()

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

newBuilder()

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

newBuilder(LoadBalancer prototype)

public static LoadBalancer.Builder newBuilder(LoadBalancer prototype)
Parameter
NameDescription
prototypeLoadBalancer
Returns
TypeDescription
LoadBalancer.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public LoadBalancer getDefaultInstanceForType()
Returns
TypeDescription
LoadBalancer

getName()

public String getName()

The name of the load balancer associated with the finding.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the load balancer associated with the finding.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 LoadBalancer.Builder newBuilderForType()
Returns
TypeDescription
LoadBalancer.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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