Class GuestPolicies.LookupEffectiveGuestPolicyRequest (2.57.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
Type Description
int

OS_ARCHITECTURE_FIELD_NUMBER

public static final int OS_ARCHITECTURE_FIELD_NUMBER
Field Value
Type Description
int

OS_SHORT_NAME_FIELD_NUMBER

public static final int OS_SHORT_NAME_FIELD_NUMBER
Field Value
Type Description
int

OS_VERSION_FIELD_NUMBER

public static final int OS_VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GuestPolicies.LookupEffectiveGuestPolicyRequest getDefaultInstance()
Returns
Type Description
GuestPolicies.LookupEffectiveGuestPolicyRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder newBuilder()
Returns
Type Description
GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder

newBuilder(GuestPolicies.LookupEffectiveGuestPolicyRequest prototype)

public static GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder newBuilder(GuestPolicies.LookupEffectiveGuestPolicyRequest prototype)
Parameter
Name Description
prototype GuestPolicies.LookupEffectiveGuestPolicyRequest
Returns
Type Description
GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder

parseDelimitedFrom(InputStream input)

public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GuestPolicies.LookupEffectiveGuestPolicyRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.LookupEffectiveGuestPolicyRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GuestPolicies.LookupEffectiveGuestPolicyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.LookupEffectiveGuestPolicyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GuestPolicies.LookupEffectiveGuestPolicyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.LookupEffectiveGuestPolicyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GuestPolicies.LookupEffectiveGuestPolicyRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.LookupEffectiveGuestPolicyRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GuestPolicies.LookupEffectiveGuestPolicyRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.LookupEffectiveGuestPolicyRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GuestPolicies.LookupEffectiveGuestPolicyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.LookupEffectiveGuestPolicyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GuestPolicies.LookupEffectiveGuestPolicyRequest getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for osVersion.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder newBuilderForType()
Returns
Type Description
GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder toBuilder()
Returns
Type Description
GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException