Class ResourcePolicyResourceStatus (1.18.0)

public final class ResourcePolicyResourceStatus extends GeneratedMessageV3 implements ResourcePolicyResourceStatusOrBuilder

Contains output only fields. Use this sub-message for all output fields set on ResourcePolicy. The internal structure of this "status" field should mimic the structure of ResourcePolicy proto specification.

Protobuf type google.cloud.compute.v1.ResourcePolicyResourceStatus

Static Fields

INSTANCE_SCHEDULE_POLICY_FIELD_NUMBER

public static final int INSTANCE_SCHEDULE_POLICY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ResourcePolicyResourceStatus getDefaultInstance()
Returns
TypeDescription
ResourcePolicyResourceStatus

getDescriptor()

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

newBuilder()

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

newBuilder(ResourcePolicyResourceStatus prototype)

public static ResourcePolicyResourceStatus.Builder newBuilder(ResourcePolicyResourceStatus prototype)
Parameter
NameDescription
prototypeResourcePolicyResourceStatus
Returns
TypeDescription
ResourcePolicyResourceStatus.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ResourcePolicyResourceStatus getDefaultInstanceForType()
Returns
TypeDescription
ResourcePolicyResourceStatus

getInstanceSchedulePolicy()

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus getInstanceSchedulePolicy()

[Output Only] Specifies a set of output values reffering to the instance_schedule_policy system status. This field should have the same name as corresponding policy field.

optional .google.cloud.compute.v1.ResourcePolicyResourceStatusInstanceSchedulePolicyStatus instance_schedule_policy = 344877104;

Returns
TypeDescription
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus

The instanceSchedulePolicy.

getInstanceSchedulePolicyOrBuilder()

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatusOrBuilder getInstanceSchedulePolicyOrBuilder()

[Output Only] Specifies a set of output values reffering to the instance_schedule_policy system status. This field should have the same name as corresponding policy field.

optional .google.cloud.compute.v1.ResourcePolicyResourceStatusInstanceSchedulePolicyStatus instance_schedule_policy = 344877104;

Returns
TypeDescription
ResourcePolicyResourceStatusInstanceSchedulePolicyStatusOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasInstanceSchedulePolicy()

public boolean hasInstanceSchedulePolicy()

[Output Only] Specifies a set of output values reffering to the instance_schedule_policy system status. This field should have the same name as corresponding policy field.

optional .google.cloud.compute.v1.ResourcePolicyResourceStatusInstanceSchedulePolicyStatus instance_schedule_policy = 344877104;

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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