Class ResourcePolicyResourceStatus.Builder (1.55.0)

public static final class ResourcePolicyResourceStatus.Builder extends GeneratedMessageV3.Builder<ResourcePolicyResourceStatus.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ResourcePolicyResourceStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ResourcePolicyResourceStatus.Builder
Overrides

build()

public ResourcePolicyResourceStatus build()
Returns
Type Description
ResourcePolicyResourceStatus

buildPartial()

public ResourcePolicyResourceStatus buildPartial()
Returns
Type Description
ResourcePolicyResourceStatus

clear()

public ResourcePolicyResourceStatus.Builder clear()
Returns
Type Description
ResourcePolicyResourceStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ResourcePolicyResourceStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ResourcePolicyResourceStatus.Builder
Overrides

clearInstanceSchedulePolicy()

public ResourcePolicyResourceStatus.Builder clearInstanceSchedulePolicy()

[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
ResourcePolicyResourceStatus.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ResourcePolicyResourceStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ResourcePolicyResourceStatus.Builder
Overrides

clone()

public ResourcePolicyResourceStatus.Builder clone()
Returns
Type Description
ResourcePolicyResourceStatus.Builder
Overrides

getDefaultInstanceForType()

public ResourcePolicyResourceStatus getDefaultInstanceForType()
Returns
Type Description
ResourcePolicyResourceStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getInstanceSchedulePolicyBuilder()

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder getInstanceSchedulePolicyBuilder()

[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.Builder

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ResourcePolicyResourceStatus other)

public ResourcePolicyResourceStatus.Builder mergeFrom(ResourcePolicyResourceStatus other)
Parameter
Name Description
other ResourcePolicyResourceStatus
Returns
Type Description
ResourcePolicyResourceStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ResourcePolicyResourceStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourcePolicyResourceStatus.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ResourcePolicyResourceStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ResourcePolicyResourceStatus.Builder
Overrides

mergeInstanceSchedulePolicy(ResourcePolicyResourceStatusInstanceSchedulePolicyStatus value)

public ResourcePolicyResourceStatus.Builder mergeInstanceSchedulePolicy(ResourcePolicyResourceStatusInstanceSchedulePolicyStatus value)

[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;

Parameter
Name Description
value ResourcePolicyResourceStatusInstanceSchedulePolicyStatus
Returns
Type Description
ResourcePolicyResourceStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResourcePolicyResourceStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ResourcePolicyResourceStatus.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ResourcePolicyResourceStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ResourcePolicyResourceStatus.Builder
Overrides

setInstanceSchedulePolicy(ResourcePolicyResourceStatusInstanceSchedulePolicyStatus value)

public ResourcePolicyResourceStatus.Builder setInstanceSchedulePolicy(ResourcePolicyResourceStatusInstanceSchedulePolicyStatus value)

[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;

Parameter
Name Description
value ResourcePolicyResourceStatusInstanceSchedulePolicyStatus
Returns
Type Description
ResourcePolicyResourceStatus.Builder

setInstanceSchedulePolicy(ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder builderForValue)

public ResourcePolicyResourceStatus.Builder setInstanceSchedulePolicy(ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder builderForValue)

[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;

Parameter
Name Description
builderForValue ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder
Returns
Type Description
ResourcePolicyResourceStatus.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ResourcePolicyResourceStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ResourcePolicyResourceStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ResourcePolicyResourceStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ResourcePolicyResourceStatus.Builder
Overrides