Class GuestPolicies.CreateGuestPolicyRequest (2.22.0)

public static final class GuestPolicies.CreateGuestPolicyRequest extends GeneratedMessageV3 implements GuestPolicies.CreateGuestPolicyRequestOrBuilder

A request message for creating a guest policy.

Protobuf type google.cloud.osconfig.v1beta.CreateGuestPolicyRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GuestPolicies.CreateGuestPolicyRequest

Static Fields

GUEST_POLICY_FIELD_NUMBER

public static final int GUEST_POLICY_FIELD_NUMBER
Field Value
TypeDescription
int

GUEST_POLICY_ID_FIELD_NUMBER

public static final int GUEST_POLICY_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 GuestPolicies.CreateGuestPolicyRequest getDefaultInstance()
Returns
TypeDescription
GuestPolicies.CreateGuestPolicyRequest

getDescriptor()

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

newBuilder()

public static GuestPolicies.CreateGuestPolicyRequest.Builder newBuilder()
Returns
TypeDescription
GuestPolicies.CreateGuestPolicyRequest.Builder

newBuilder(GuestPolicies.CreateGuestPolicyRequest prototype)

public static GuestPolicies.CreateGuestPolicyRequest.Builder newBuilder(GuestPolicies.CreateGuestPolicyRequest prototype)
Parameter
NameDescription
prototypeGuestPolicies.CreateGuestPolicyRequest
Returns
TypeDescription
GuestPolicies.CreateGuestPolicyRequest.Builder

parseDelimitedFrom(InputStream input)

public static GuestPolicies.CreateGuestPolicyRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GuestPolicies.CreateGuestPolicyRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static GuestPolicies.CreateGuestPolicyRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GuestPolicies.CreateGuestPolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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