Class ResourcePolicyResourceStatus.Builder (1.11.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ResourcePolicyResourceStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ResourcePolicyResourceStatus.Builder
Overrides

build()

public ResourcePolicyResourceStatus build()
Returns
TypeDescription
ResourcePolicyResourceStatus

buildPartial()

public ResourcePolicyResourceStatus buildPartial()
Returns
TypeDescription
ResourcePolicyResourceStatus

clear()

public ResourcePolicyResourceStatus.Builder clear()
Returns
TypeDescription
ResourcePolicyResourceStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ResourcePolicyResourceStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ResourcePolicyResourceStatus.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ResourcePolicyResourceStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ResourcePolicyResourceStatus.Builder
Overrides

clone()

public ResourcePolicyResourceStatus.Builder clone()
Returns
TypeDescription
ResourcePolicyResourceStatus.Builder
Overrides

getDefaultInstanceForType()

public ResourcePolicyResourceStatus getDefaultInstanceForType()
Returns
TypeDescription
ResourcePolicyResourceStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the instanceSchedulePolicy field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ResourcePolicyResourceStatus other)

public ResourcePolicyResourceStatus.Builder mergeFrom(ResourcePolicyResourceStatus other)
Parameter
NameDescription
otherResourcePolicyResourceStatus
Returns
TypeDescription
ResourcePolicyResourceStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ResourcePolicyResourceStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourcePolicyResourceStatus.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ResourcePolicyResourceStatus.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueResourcePolicyResourceStatusInstanceSchedulePolicyStatus
Returns
TypeDescription
ResourcePolicyResourceStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResourcePolicyResourceStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResourcePolicyResourceStatus.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ResourcePolicyResourceStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueResourcePolicyResourceStatusInstanceSchedulePolicyStatus
Returns
TypeDescription
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
NameDescription
builderForValueResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder
Returns
TypeDescription
ResourcePolicyResourceStatus.Builder

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

public ResourcePolicyResourceStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ResourcePolicyResourceStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ResourcePolicyResourceStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResourcePolicyResourceStatus.Builder
Overrides