Class StatefulPolicy (1.6.0-beta)

public final class StatefulPolicy extends GeneratedMessageV3 implements StatefulPolicyOrBuilder

Protobuf type google.cloud.compute.v1.StatefulPolicy

Fields

PRESERVED_STATE_FIELD_NUMBER

public static final int PRESERVED_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

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

getDefaultInstance()

public static StatefulPolicy getDefaultInstance()
Returns
TypeDescription
StatefulPolicy

getDefaultInstanceForType()

public StatefulPolicy getDefaultInstanceForType()
Returns
TypeDescription
StatefulPolicy

getDescriptor()

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

getParserForType()

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

getPreservedState()

public StatefulPolicyPreservedState getPreservedState()

optional .google.cloud.compute.v1.StatefulPolicyPreservedState preserved_state = 2634026;

Returns
TypeDescription
StatefulPolicyPreservedState

The preservedState.

getPreservedStateOrBuilder()

public StatefulPolicyPreservedStateOrBuilder getPreservedStateOrBuilder()

optional .google.cloud.compute.v1.StatefulPolicyPreservedState preserved_state = 2634026;

Returns
TypeDescription
StatefulPolicyPreservedStateOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasPreservedState()

public boolean hasPreservedState()

optional .google.cloud.compute.v1.StatefulPolicyPreservedState preserved_state = 2634026;

Returns
TypeDescription
boolean

Whether the preservedState 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

newBuilder()

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

newBuilder(StatefulPolicy prototype)

public static StatefulPolicy.Builder newBuilder(StatefulPolicy prototype)
Parameter
NameDescription
prototypeStatefulPolicy
Returns
TypeDescription
StatefulPolicy.Builder

newBuilderForType()

public StatefulPolicy.Builder newBuilderForType()
Returns
TypeDescription
StatefulPolicy.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

toBuilder()

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

writeTo(CodedOutputStream output)

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