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
Static Fields
INSTANCE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER
Field Value
OS_ARCHITECTURE_FIELD_NUMBER
public static final int OS_ARCHITECTURE_FIELD_NUMBER
Field Value
OS_SHORT_NAME_FIELD_NUMBER
public static final int OS_SHORT_NAME_FIELD_NUMBER
Field Value
OS_VERSION_FIELD_NUMBER
public static final int OS_VERSION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static GuestPolicies.LookupEffectiveGuestPolicyRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder newBuilder()
Returns
newBuilder(GuestPolicies.LookupEffectiveGuestPolicyRequest prototype)
public static GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder newBuilder(GuestPolicies.LookupEffectiveGuestPolicyRequest prototype)
Parameter
Returns
public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.LookupEffectiveGuestPolicyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<GuestPolicies.LookupEffectiveGuestPolicyRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public GuestPolicies.LookupEffectiveGuestPolicyRequest getDefaultInstanceForType()
Returns
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
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
getParserForType()
public Parser<GuestPolicies.LookupEffectiveGuestPolicyRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public GuestPolicies.LookupEffectiveGuestPolicyRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions