Class GuestPolicies.LookupEffectiveGuestPolicyRequest (2.38.0)

public static final class GuestPolicies.LookupEffectiveGuestPolicyRequest extends GeneratedMessageV3 implements GuestPolicies.LookupEffectiveGuestPolicyRequestOrBuilder

A request message for getting the effective guest policy assigned to the instance.

Protobuf type google.cloud.osconfig.v1beta.LookupEffectiveGuestPolicyRequest

Inheritance

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

Static Fields

INSTANCE_FIELD_NUMBER

public static final int INSTANCE_FIELD_NUMBER
Field Value
TypeDescription
int

OS_ARCHITECTURE_FIELD_NUMBER

public static final int OS_ARCHITECTURE_FIELD_NUMBER
Field Value
TypeDescription
int

OS_SHORT_NAME_FIELD_NUMBER

public static final int OS_SHORT_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

OS_VERSION_FIELD_NUMBER

public static final int OS_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GuestPolicies.LookupEffectiveGuestPolicyRequest getDefaultInstance()
Returns
TypeDescription
GuestPolicies.LookupEffectiveGuestPolicyRequest

getDescriptor()

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

newBuilder()

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

newBuilder(GuestPolicies.LookupEffectiveGuestPolicyRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GuestPolicies.LookupEffectiveGuestPolicyRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GuestPolicies.LookupEffectiveGuestPolicyRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GuestPolicies.LookupEffectiveGuestPolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GuestPolicies.LookupEffectiveGuestPolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GuestPolicies.LookupEffectiveGuestPolicyRequest> parser()
Returns
TypeDescription
Parser<LookupEffectiveGuestPolicyRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public GuestPolicies.LookupEffectiveGuestPolicyRequest getDefaultInstanceForType()
Returns
TypeDescription
GuestPolicies.LookupEffectiveGuestPolicyRequest

getInstance()

public String getInstance()

Required. The VM instance whose policies are being looked up.

string instance = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The instance.

getInstanceBytes()

public ByteString getInstanceBytes()

Required. The VM instance whose policies are being looked up.

string instance = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for instance.

getOsArchitecture()

public String getOsArchitecture()

Architecture of OS running on the instance. The OS Config agent only provides this field for targeting if OS Inventory is enabled for that instance.

string os_architecture = 4;

Returns
TypeDescription
String

The osArchitecture.

getOsArchitectureBytes()

public ByteString getOsArchitectureBytes()

Architecture of OS running on the instance. The OS Config agent only provides this field for targeting if OS Inventory is enabled for that instance.

string os_architecture = 4;

Returns
TypeDescription
ByteString

The bytes for osArchitecture.

getOsShortName()

public String getOsShortName()

Short name of the OS running on the instance. The OS Config agent only provides this field for targeting if OS Inventory is enabled for that instance.

string os_short_name = 2;

Returns
TypeDescription
String

The osShortName.

getOsShortNameBytes()

public ByteString getOsShortNameBytes()

Short name of the OS running on the instance. The OS Config agent only provides this field for targeting if OS Inventory is enabled for that instance.

string os_short_name = 2;

Returns
TypeDescription
ByteString

The bytes for osShortName.

getOsVersion()

public String getOsVersion()

Version of the OS running on the instance. The OS Config agent only provides this field for targeting if OS Inventory is enabled for that VM instance.

string os_version = 3;

Returns
TypeDescription
String

The osVersion.

getOsVersionBytes()

public ByteString getOsVersionBytes()

Version of the OS running on the instance. The OS Config agent only provides this field for targeting if OS Inventory is enabled for that VM instance.

string os_version = 3;

Returns
TypeDescription
ByteString

The bytes for osVersion.

getParserForType()

public Parser<GuestPolicies.LookupEffectiveGuestPolicyRequest> getParserForType()
Returns
TypeDescription
Parser<LookupEffectiveGuestPolicyRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder newBuilderForType()
Returns
TypeDescription
GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder toBuilder()
Returns
TypeDescription
GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException