Class CreateOSPolicyAssignmentRequest (2.9.0)

public final class CreateOSPolicyAssignmentRequest extends GeneratedMessageV3 implements CreateOSPolicyAssignmentRequestOrBuilder

A request message to create an OS policy assignment

Protobuf type google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest

Inheritance

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

Static Fields

OS_POLICY_ASSIGNMENT_FIELD_NUMBER

public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER
Field Value
TypeDescription
int

OS_POLICY_ASSIGNMENT_ID_FIELD_NUMBER

public static final int OS_POLICY_ASSIGNMENT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateOSPolicyAssignmentRequest getDefaultInstance()
Returns
TypeDescription
CreateOSPolicyAssignmentRequest

getDescriptor()

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

newBuilder()

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

newBuilder(CreateOSPolicyAssignmentRequest prototype)

public static CreateOSPolicyAssignmentRequest.Builder newBuilder(CreateOSPolicyAssignmentRequest prototype)
Parameter
NameDescription
prototypeCreateOSPolicyAssignmentRequest
Returns
TypeDescription
CreateOSPolicyAssignmentRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static CreateOSPolicyAssignmentRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateOSPolicyAssignmentRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateOSPolicyAssignmentRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateOSPolicyAssignmentRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateOSPolicyAssignmentRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateOSPolicyAssignmentRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static CreateOSPolicyAssignmentRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateOSPolicyAssignmentRequest
Exceptions
Type