Class Subsetting (1.64.0)

public final class Subsetting extends GeneratedMessageV3 implements SubsettingOrBuilder

Subsetting configuration for this BackendService. Currently this is applicable only for Internal TCP/UDP load balancing, Internal HTTP(S) load balancing and Traffic Director.

Protobuf type google.cloud.compute.v1.Subsetting

Implements

SubsettingOrBuilder

Static Fields

POLICY_FIELD_NUMBER

public static final int POLICY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Subsetting getDefaultInstance()
Returns
Type Description
Subsetting

getDescriptor()

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

newBuilder()

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

newBuilder(Subsetting prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Subsetting getDefaultInstanceForType()
Returns
Type Description
Subsetting

getParserForType()

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

getPolicy()

public String getPolicy()

Check the Policy enum for the list of possible values.

optional string policy = 91071794;

Returns
Type Description
String

The policy.

getPolicyBytes()

public ByteString getPolicyBytes()

Check the Policy enum for the list of possible values.

optional string policy = 91071794;

Returns
Type Description
ByteString

The bytes for policy.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasPolicy()

public boolean hasPolicy()

Check the Policy enum for the list of possible values.

optional string policy = 91071794;

Returns
Type Description
boolean

Whether the policy 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 Subsetting.Builder newBuilderForType()
Returns
Type Description
Subsetting.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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