Class OSPolicyAssignment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OSPolicyAssignment.Builder>
com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Builder
- All Implemented Interfaces:
OSPolicyAssignmentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OSPolicyAssignment
public static final class OSPolicyAssignment.Builder
extends com.google.protobuf.GeneratedMessage.Builder<OSPolicyAssignment.Builder>
implements OSPolicyAssignmentOrBuilder
OS policy assignment is an API resource that is used to apply a set of OS policies to a dynamically targeted group of Compute Engine VM instances. An OS policy is used to define the desired state configuration for a Compute Engine VM instance through a set of configuration resources that provide capabilities such as installing or removing software packages, or executing a script. For more information, see [OS policy and OS policy assignment](https://cloud.google.com/compute/docs/os-configuration-management/working-with-os-policies).Protobuf type
google.cloud.osconfig.v1alpha.OSPolicyAssignment-
Method Summary
Modifier and TypeMethodDescriptionaddAllOsPolicies(Iterable<? extends OSPolicy> values) Required.addOsPolicies(int index, OSPolicy value) Required.addOsPolicies(int index, OSPolicy.Builder builderForValue) Required.addOsPolicies(OSPolicy value) Required.addOsPolicies(OSPolicy.Builder builderForValue) Required.Required.addOsPoliciesBuilder(int index) Required.build()clear()Output only.Output only.OS policy assignment description.The etag for this OS policy assignment.Required.Resource name.Required.Output only.Output only.Output only.Required.Output only.clearUid()Output only.booleanOutput only.booleanOutput only.OS policy assignment description.com.google.protobuf.ByteStringOS policy assignment description.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEtag()The etag for this OS policy assignment.com.google.protobuf.ByteStringThe etag for this OS policy assignment.Required.Required.Required.getName()Resource name.com.google.protobuf.ByteStringResource name.getOsPolicies(int index) Required.getOsPoliciesBuilder(int index) Required.Required.intRequired.Required.getOsPoliciesOrBuilder(int index) Required.List<? extends OSPolicyOrBuilder>Required.booleanOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.Required.Required.Required.Output only.intOutput only.getUid()Output only.com.google.protobuf.ByteStringOutput only.booleanRequired.booleanOutput only.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(OSPolicyAssignment other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Required.mergeRevisionCreateTime(com.google.protobuf.Timestamp value) Output only.Required.removeOsPolicies(int index) Required.setBaseline(boolean value) Output only.setDeleted(boolean value) Output only.setDescription(String value) OS policy assignment description.setDescriptionBytes(com.google.protobuf.ByteString value) OS policy assignment description.The etag for this OS policy assignment.setEtagBytes(com.google.protobuf.ByteString value) The etag for this OS policy assignment.Required.setInstanceFilter(OSPolicyAssignment.InstanceFilter.Builder builderForValue) Required.Resource name.setNameBytes(com.google.protobuf.ByteString value) Resource name.setOsPolicies(int index, OSPolicy value) Required.setOsPolicies(int index, OSPolicy.Builder builderForValue) Required.setReconciling(boolean value) Output only.setRevisionCreateTime(com.google.protobuf.Timestamp value) Output only.setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setRevisionId(String value) Output only.setRevisionIdBytes(com.google.protobuf.ByteString value) Output only.Required.setRollout(OSPolicyAssignment.Rollout.Builder builderForValue) Required.Output only.setRolloutStateValue(int value) Output only.Output only.setUidBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<OSPolicyAssignment.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<OSPolicyAssignment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<OSPolicyAssignment.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OSPolicyAssignment.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<OSPolicyAssignment.Builder>
-
mergeFrom
public OSPolicyAssignment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OSPolicyAssignment.Builder>- Throws:
IOException
-
getName
Resource name. Format: `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}` This field is ignored when you create an OS policy assignment.string name = 1;- Specified by:
getNamein interfaceOSPolicyAssignmentOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Resource name. Format: `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}` This field is ignored when you create an OS policy assignment.string name = 1;- Specified by:
getNameBytesin interfaceOSPolicyAssignmentOrBuilder- Returns:
- The bytes for name.
-
setName
Resource name. Format: `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}` This field is ignored when you create an OS policy assignment.string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Resource name. Format: `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}` This field is ignored when you create an OS policy assignment.string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
Resource name. Format: `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}` This field is ignored when you create an OS policy assignment.string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
OS policy assignment description. Length of the description is limited to 1024 characters.
string description = 2;- Specified by:
getDescriptionin interfaceOSPolicyAssignmentOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()OS policy assignment description. Length of the description is limited to 1024 characters.
string description = 2;- Specified by:
getDescriptionBytesin interfaceOSPolicyAssignmentOrBuilder- Returns:
- The bytes for description.
-
setDescription
OS policy assignment description. Length of the description is limited to 1024 characters.
string description = 2;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
OS policy assignment description. Length of the description is limited to 1024 characters.
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
OS policy assignment description. Length of the description is limited to 1024 characters.
string description = 2;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getOsPoliciesList
Required. List of OS policies to be applied to the VMs.
repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOsPoliciesListin interfaceOSPolicyAssignmentOrBuilder
-
getOsPoliciesCount
public int getOsPoliciesCount()Required. List of OS policies to be applied to the VMs.
repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOsPoliciesCountin interfaceOSPolicyAssignmentOrBuilder
-
getOsPolicies
Required. List of OS policies to be applied to the VMs.
repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOsPoliciesin interfaceOSPolicyAssignmentOrBuilder
-
setOsPolicies
Required. List of OS policies to be applied to the VMs.
repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; -
setOsPolicies
Required. List of OS policies to be applied to the VMs.
repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; -
addOsPolicies
Required. List of OS policies to be applied to the VMs.
repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; -
addOsPolicies
Required. List of OS policies to be applied to the VMs.
repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; -
addOsPolicies
Required. List of OS policies to be applied to the VMs.
repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; -
addOsPolicies
Required. List of OS policies to be applied to the VMs.
repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; -
addAllOsPolicies
Required. List of OS policies to be applied to the VMs.
repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; -
clearOsPolicies
Required. List of OS policies to be applied to the VMs.
repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; -
removeOsPolicies
Required. List of OS policies to be applied to the VMs.
repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; -
getOsPoliciesBuilder
Required. List of OS policies to be applied to the VMs.
repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; -
getOsPoliciesOrBuilder
Required. List of OS policies to be applied to the VMs.
repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOsPoliciesOrBuilderin interfaceOSPolicyAssignmentOrBuilder
-
getOsPoliciesOrBuilderList
Required. List of OS policies to be applied to the VMs.
repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOsPoliciesOrBuilderListin interfaceOSPolicyAssignmentOrBuilder
-
addOsPoliciesBuilder
Required. List of OS policies to be applied to the VMs.
repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; -
addOsPoliciesBuilder
Required. List of OS policies to be applied to the VMs.
repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; -
getOsPoliciesBuilderList
Required. List of OS policies to be applied to the VMs.
repeated .google.cloud.osconfig.v1alpha.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED]; -
hasInstanceFilter
public boolean hasInstanceFilter()Required. Filter to select VMs.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasInstanceFilterin interfaceOSPolicyAssignmentOrBuilder- Returns:
- Whether the instanceFilter field is set.
-
getInstanceFilter
Required. Filter to select VMs.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInstanceFilterin interfaceOSPolicyAssignmentOrBuilder- Returns:
- The instanceFilter.
-
setInstanceFilter
Required. Filter to select VMs.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; -
setInstanceFilter
public OSPolicyAssignment.Builder setInstanceFilter(OSPolicyAssignment.InstanceFilter.Builder builderForValue) Required. Filter to select VMs.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; -
mergeInstanceFilter
Required. Filter to select VMs.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; -
clearInstanceFilter
Required. Filter to select VMs.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; -
getInstanceFilterBuilder
Required. Filter to select VMs.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED]; -
getInstanceFilterOrBuilder
Required. Filter to select VMs.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInstanceFilterOrBuilderin interfaceOSPolicyAssignmentOrBuilder
-
hasRollout
public boolean hasRollout()Required. Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasRolloutin interfaceOSPolicyAssignmentOrBuilder- Returns:
- Whether the rollout field is set.
-
getRollout
Required. Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getRolloutin interfaceOSPolicyAssignmentOrBuilder- Returns:
- The rollout.
-
setRollout
Required. Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; -
setRollout
Required. Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; -
mergeRollout
Required. Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; -
clearRollout
Required. Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; -
getRolloutBuilder
Required. Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED]; -
getRolloutOrBuilder
Required. Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getRolloutOrBuilderin interfaceOSPolicyAssignmentOrBuilder
-
getRevisionId
Output only. The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment
string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionIdin interfaceOSPolicyAssignmentOrBuilder- Returns:
- The revisionId.
-
getRevisionIdBytes
public com.google.protobuf.ByteString getRevisionIdBytes()Output only. The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment
string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionIdBytesin interfaceOSPolicyAssignmentOrBuilder- Returns:
- The bytes for revisionId.
-
setRevisionId
Output only. The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment
string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The revisionId to set.- Returns:
- This builder for chaining.
-
clearRevisionId
Output only. The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment
string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setRevisionIdBytes
Output only. The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment
string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for revisionId to set.- Returns:
- This builder for chaining.
-
hasRevisionCreateTime
public boolean hasRevisionCreateTime()Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRevisionCreateTimein interfaceOSPolicyAssignmentOrBuilder- Returns:
- Whether the revisionCreateTime field is set.
-
getRevisionCreateTime
public com.google.protobuf.Timestamp getRevisionCreateTime()Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionCreateTimein interfaceOSPolicyAssignmentOrBuilder- Returns:
- The revisionCreateTime.
-
setRevisionCreateTime
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setRevisionCreateTime
public OSPolicyAssignment.Builder setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeRevisionCreateTime
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearRevisionCreateTime
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRevisionCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getRevisionCreateTimeBuilder()Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRevisionCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder()Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionCreateTimeOrBuilderin interfaceOSPolicyAssignmentOrBuilder
-
getEtag
The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.
string etag = 8;- Specified by:
getEtagin interfaceOSPolicyAssignmentOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.
string etag = 8;- Specified by:
getEtagBytesin interfaceOSPolicyAssignmentOrBuilder- Returns:
- The bytes for etag.
-
setEtag
The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.
string etag = 8;- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.
string etag = 8;- Returns:
- This builder for chaining.
-
setEtagBytes
The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.
string etag = 8;- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-
getRolloutStateValue
public int getRolloutStateValue()Output only. OS policy assignment rollout state
.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRolloutStateValuein interfaceOSPolicyAssignmentOrBuilder- Returns:
- The enum numeric value on the wire for rolloutState.
-
setRolloutStateValue
Output only. OS policy assignment rollout state
.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for rolloutState to set.- Returns:
- This builder for chaining.
-
getRolloutState
Output only. OS policy assignment rollout state
.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRolloutStatein interfaceOSPolicyAssignmentOrBuilder- Returns:
- The rolloutState.
-
setRolloutState
Output only. OS policy assignment rollout state
.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The rolloutState to set.- Returns:
- This builder for chaining.
-
clearRolloutState
Output only. OS policy assignment rollout state
.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getBaseline
public boolean getBaseline()Output only. Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS policies from this revision. For a given OS policy assignment, there is only one revision with a value of `true` for this field.
bool baseline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBaselinein interfaceOSPolicyAssignmentOrBuilder- Returns:
- The baseline.
-
setBaseline
Output only. Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS policies from this revision. For a given OS policy assignment, there is only one revision with a value of `true` for this field.
bool baseline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The baseline to set.- Returns:
- This builder for chaining.
-
clearBaseline
Output only. Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS policies from this revision. For a given OS policy assignment, there is only one revision with a value of `true` for this field.
bool baseline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getDeleted
public boolean getDeleted()Output only. Indicates that this revision deletes the OS policy assignment.
bool deleted = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeletedin interfaceOSPolicyAssignmentOrBuilder- Returns:
- The deleted.
-
setDeleted
Output only. Indicates that this revision deletes the OS policy assignment.
bool deleted = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The deleted to set.- Returns:
- This builder for chaining.
-
clearDeleted
Output only. Indicates that this revision deletes the OS policy assignment.
bool deleted = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getReconciling
public boolean getReconciling()Output only. Indicates that reconciliation is in progress for the revision. This value is `true` when the `rollout_state` is one of: * IN_PROGRESS * CANCELLING
bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReconcilingin interfaceOSPolicyAssignmentOrBuilder- Returns:
- The reconciling.
-
setReconciling
Output only. Indicates that reconciliation is in progress for the revision. This value is `true` when the `rollout_state` is one of: * IN_PROGRESS * CANCELLING
bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The reconciling to set.- Returns:
- This builder for chaining.
-
clearReconciling
Output only. Indicates that reconciliation is in progress for the revision. This value is `true` when the `rollout_state` is one of: * IN_PROGRESS * CANCELLING
bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getUid
Output only. Server generated unique id for the OS policy assignment resource.
string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidin interfaceOSPolicyAssignmentOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()Output only. Server generated unique id for the OS policy assignment resource.
string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidBytesin interfaceOSPolicyAssignmentOrBuilder- Returns:
- The bytes for uid.
-
setUid
Output only. Server generated unique id for the OS policy assignment resource.
string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
Output only. Server generated unique id for the OS policy assignment resource.
string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUidBytes
Output only. Server generated unique id for the OS policy assignment resource.
string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for uid to set.- Returns:
- This builder for chaining.
-