Class OSPolicyAssignment
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.osconfig.v1alpha.OSPolicyAssignment
-
- All Implemented Interfaces:
OSPolicyAssignmentOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class OSPolicyAssignment extends com.google.protobuf.GeneratedMessageV3 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 typegoogle.cloud.osconfig.v1alpha.OSPolicyAssignment- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOSPolicyAssignment.BuilderOS 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.static classOSPolicyAssignment.InstanceFilterFilters to select target VMs for an assignment.static interfaceOSPolicyAssignment.InstanceFilterOrBuilderstatic classOSPolicyAssignment.LabelSetMessage representing label set.static interfaceOSPolicyAssignment.LabelSetOrBuilderstatic classOSPolicyAssignment.RolloutMessage to configure the rollout at the zonal level for the OS policy assignment.static interfaceOSPolicyAssignment.RolloutOrBuilderstatic classOSPolicyAssignment.RolloutStateOS policy assignment rollout state-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intBASELINE_FIELD_NUMBERstatic intDELETED_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intETAG_FIELD_NUMBERstatic intINSTANCE_FILTER_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intOS_POLICIES_FIELD_NUMBERstatic intRECONCILING_FIELD_NUMBERstatic intREVISION_CREATE_TIME_FIELD_NUMBERstatic intREVISION_ID_FIELD_NUMBERstatic intROLLOUT_FIELD_NUMBERstatic intROLLOUT_STATE_FIELD_NUMBERstatic intUID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleangetBaseline()Output only.static OSPolicyAssignmentgetDefaultInstance()OSPolicyAssignmentgetDefaultInstanceForType()booleangetDeleted()Output only.StringgetDescription()OS policy assignment description.com.google.protobuf.ByteStringgetDescriptionBytes()OS policy assignment description.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetEtag()The etag for this OS policy assignment.com.google.protobuf.ByteStringgetEtagBytes()The etag for this OS policy assignment.OSPolicyAssignment.InstanceFiltergetInstanceFilter()Required.OSPolicyAssignment.InstanceFilterOrBuildergetInstanceFilterOrBuilder()Required.StringgetName()Resource name.com.google.protobuf.ByteStringgetNameBytes()Resource name.OSPolicygetOsPolicies(int index)Required.intgetOsPoliciesCount()Required.List<OSPolicy>getOsPoliciesList()Required.OSPolicyOrBuildergetOsPoliciesOrBuilder(int index)Required.List<? extends OSPolicyOrBuilder>getOsPoliciesOrBuilderList()Required.com.google.protobuf.Parser<OSPolicyAssignment>getParserForType()booleangetReconciling()Output only.com.google.protobuf.TimestampgetRevisionCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetRevisionCreateTimeOrBuilder()Output only.StringgetRevisionId()Output only.com.google.protobuf.ByteStringgetRevisionIdBytes()Output only.OSPolicyAssignment.RolloutgetRollout()Required.OSPolicyAssignment.RolloutOrBuildergetRolloutOrBuilder()Required.OSPolicyAssignment.RolloutStategetRolloutState()Output only.intgetRolloutStateValue()Output only.intgetSerializedSize()StringgetUid()Output only.com.google.protobuf.ByteStringgetUidBytes()Output only.inthashCode()booleanhasInstanceFilter()Required.booleanhasRevisionCreateTime()Output only.booleanhasRollout()Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OSPolicyAssignment.BuildernewBuilder()static OSPolicyAssignment.BuildernewBuilder(OSPolicyAssignment prototype)OSPolicyAssignment.BuildernewBuilderForType()protected OSPolicyAssignment.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OSPolicyAssignmentparseDelimitedFrom(InputStream input)static OSPolicyAssignmentparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OSPolicyAssignmentparseFrom(byte[] data)static OSPolicyAssignmentparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OSPolicyAssignmentparseFrom(com.google.protobuf.ByteString data)static OSPolicyAssignmentparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OSPolicyAssignmentparseFrom(com.google.protobuf.CodedInputStream input)static OSPolicyAssignmentparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OSPolicyAssignmentparseFrom(InputStream input)static OSPolicyAssignmentparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OSPolicyAssignmentparseFrom(ByteBuffer data)static OSPolicyAssignmentparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OSPolicyAssignment>parser()OSPolicyAssignment.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OS_POLICIES_FIELD_NUMBER
public static final int OS_POLICIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INSTANCE_FILTER_FIELD_NUMBER
public static final int INSTANCE_FILTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROLLOUT_FIELD_NUMBER
public static final int ROLLOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REVISION_ID_FIELD_NUMBER
public static final int REVISION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REVISION_CREATE_TIME_FIELD_NUMBER
public static final int REVISION_CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROLLOUT_STATE_FIELD_NUMBER
public static final int ROLLOUT_STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BASELINE_FIELD_NUMBER
public static final int BASELINE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DELETED_FIELD_NUMBER
public static final int DELETED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RECONCILING_FIELD_NUMBER
public static final int RECONCILING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String 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.
-
getDescription
public String 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.
-
getOsPoliciesList
public List<OSPolicy> 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
-
getOsPoliciesOrBuilderList
public List<? extends OSPolicyOrBuilder> 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
-
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
public OSPolicy getOsPolicies(int index)
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
-
getOsPoliciesOrBuilder
public OSPolicyOrBuilder getOsPoliciesOrBuilder(int index)
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
-
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
public OSPolicyAssignment.InstanceFilter 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.
-
getInstanceFilterOrBuilder
public OSPolicyAssignment.InstanceFilterOrBuilder 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
public OSPolicyAssignment.Rollout 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.
-
getRolloutOrBuilder
public OSPolicyAssignment.RolloutOrBuilder 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
public String 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.
-
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.
-
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
public String 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.
-
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.
-
getRolloutState
public OSPolicyAssignment.RolloutState 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.
-
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.
-
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.
-
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.
-
getUid
public String 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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OSPolicyAssignment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OSPolicyAssignment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OSPolicyAssignment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OSPolicyAssignment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OSPolicyAssignment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OSPolicyAssignment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OSPolicyAssignment parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OSPolicyAssignment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OSPolicyAssignment parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OSPolicyAssignment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OSPolicyAssignment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OSPolicyAssignment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OSPolicyAssignment.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OSPolicyAssignment.Builder newBuilder()
-
newBuilder
public static OSPolicyAssignment.Builder newBuilder(OSPolicyAssignment prototype)
-
toBuilder
public OSPolicyAssignment.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OSPolicyAssignment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OSPolicyAssignment getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OSPolicyAssignment> parser()
-
getParserForType
public com.google.protobuf.Parser<OSPolicyAssignment> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OSPolicyAssignment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-