Class ResourcePolicyResourceStatus (1.53.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
Type Description
int

Static Methods

getDefaultInstance()

public static ResourcePolicyResourceStatus getDefaultInstance()
Returns
Type Description
ResourcePolicyResourceStatus

getDescriptor()

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

newBuilder()

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

newBuilder(ResourcePolicyResourceStatus prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ResourcePolicyResourceStatus getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
ResourcePolicyResourceStatusInstanceSchedulePolicyStatusOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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
Type Description
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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