Class Subsetting (1.7.2)

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
TypeDescription
int

Static Methods

getDefaultInstance()

public static Subsetting getDefaultInstance()
Returns
TypeDescription
Subsetting

getDescriptor()

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

newBuilder()

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

newBuilder(Subsetting prototype)

public static Subsetting.Builder newBuilder(Subsetting prototype)
Parameter
NameDescription
prototypeSubsetting
Returns
TypeDescription
Subsetting.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Subsetting getDefaultInstanceForType()
Returns
TypeDescription
Subsetting

getParserForType()

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

getPolicy()

public String getPolicy()

Check the Policy enum for the list of possible values.

optional string policy = 91071794;

Returns
TypeDescription
String

The policy.

getPolicyBytes()

public ByteString getPolicyBytes()

Check the Policy enum for the list of possible values.

optional string policy = 91071794;

Returns
TypeDescription
ByteString

The bytes for policy.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasPolicy()

public boolean hasPolicy()

Check the Policy enum for the list of possible values.

optional string policy = 91071794;

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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