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
Static Fields
POLICY_FIELD_NUMBER
public static final int POLICY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Subsetting getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Subsetting.Builder newBuilder()
Returns
newBuilder(Subsetting prototype)
public static Subsetting.Builder newBuilder(Subsetting prototype)
Parameter
Returns
public static Subsetting parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Subsetting parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Subsetting parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Subsetting parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Subsetting parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Subsetting parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Subsetting parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Subsetting parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Subsetting parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Subsetting parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Subsetting parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Subsetting parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Subsetting> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Subsetting getDefaultInstanceForType()
Returns
getParserForType()
public Parser<Subsetting> getParserForType()
Returns
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Subsetting.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Subsetting.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Subsetting.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions