Class UpdateOSPolicyAssignmentRequest (2.7.0)

public final class UpdateOSPolicyAssignmentRequest extends GeneratedMessageV3 implements UpdateOSPolicyAssignmentRequestOrBuilder

A request message to update an OS policy assignment

Protobuf type google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpdateOSPolicyAssignmentRequest

Static Fields

OS_POLICY_ASSIGNMENT_FIELD_NUMBER

public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateOSPolicyAssignmentRequest getDefaultInstance()
Returns
TypeDescription
UpdateOSPolicyAssignmentRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UpdateOSPolicyAssignmentRequest.Builder newBuilder()
Returns
TypeDescription
UpdateOSPolicyAssignmentRequest.Builder

newBuilder(UpdateOSPolicyAssignmentRequest prototype)

public static UpdateOSPolicyAssignmentRequest.Builder newBuilder(UpdateOSPolicyAssignmentRequest prototype)
Parameter
NameDescription
prototypeUpdateOSPolicyAssignmentRequest
Returns
TypeDescription
UpdateOSPolicyAssignmentRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateOSPolicyAssignmentRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateOSPolicyAssignmentRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateOSPolicyAssignmentRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateOSPolicyAssignmentRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateOSPolicyAssignmentRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateOSPolicyAssignmentRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateOSPolicyAssignmentRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateOSPolicyAssignmentRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateOSPolicyAssignmentRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateOSPolicyAssignmentRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateOSPolicyAssignmentRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription