Class ListInstanceOSPoliciesCompliancesResponse (2.24.0)

public final class ListInstanceOSPoliciesCompliancesResponse extends GeneratedMessageV3 implements ListInstanceOSPoliciesCompliancesResponseOrBuilder

A response message for listing OS policies compliance data for all Compute Engine VMs in the given location.

Protobuf type google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse

Inheritance

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

Static Fields

INSTANCE_OS_POLICIES_COMPLIANCES_FIELD_NUMBER

public static final int INSTANCE_OS_POLICIES_COMPLIANCES_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListInstanceOSPoliciesCompliancesResponse getDefaultInstance()
Returns
TypeDescription
ListInstanceOSPoliciesCompliancesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListInstanceOSPoliciesCompliancesResponse prototype)

public static ListInstanceOSPoliciesCompliancesResponse.Builder newBuilder(ListInstanceOSPoliciesCompliancesResponse prototype)
Parameter
NameDescription
prototypeListInstanceOSPoliciesCompliancesResponse
Returns
TypeDescription
ListInstanceOSPoliciesCompliancesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ListInstanceOSPoliciesCompliancesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListInstanceOSPoliciesCompliancesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ListInstanceOSPoliciesCompliancesResponse> parser()
Returns
TypeDescription
Parser<ListInstanceOSPoliciesCompliancesResponse>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListInstanceOSPoliciesCompliancesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListInstanceOSPoliciesCompliancesResponse

getInstanceOsPoliciesCompliances(int index)

public InstanceOSPoliciesCompliance getInstanceOsPoliciesCompliances(int index)

List of instance OS policies compliance objects.

repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceOSPoliciesCompliance

getInstanceOsPoliciesCompliancesCount()

public int getInstanceOsPoliciesCompliancesCount()

List of instance OS policies compliance objects.

repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;

Returns
TypeDescription
int

getInstanceOsPoliciesCompliancesList()

public List<InstanceOSPoliciesCompliance> getInstanceOsPoliciesCompliancesList()

List of instance OS policies compliance objects.

repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;

Returns
TypeDescription
List<InstanceOSPoliciesCompliance>

getInstanceOsPoliciesCompliancesOrBuilder(int index)

public InstanceOSPoliciesComplianceOrBuilder getInstanceOsPoliciesCompliancesOrBuilder(int index)

List of instance OS policies compliance objects.

repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceOSPoliciesComplianceOrBuilder

getInstanceOsPoliciesCompliancesOrBuilderList()

public List<? extends InstanceOSPoliciesComplianceOrBuilder> getInstanceOsPoliciesCompliancesOrBuilderList()

List of instance OS policies compliance objects.

repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;

Returns
TypeDescription
List<? extends com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder>

getNextPageToken()

public String getNextPageToken()

The pagination token to retrieve the next page of instance OS policies compliance objects.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The pagination token to retrieve the next page of instance OS policies compliance objects.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListInstanceOSPoliciesCompliancesResponse> getParserForType()
Returns
TypeDescription
Parser<ListInstanceOSPoliciesCompliancesResponse>
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 ListInstanceOSPoliciesCompliancesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListInstanceOSPoliciesCompliancesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ListInstanceOSPoliciesCompliancesResponse.Builder toBuilder()
Returns
TypeDescription
ListInstanceOSPoliciesCompliancesResponse.Builder

writeTo(CodedOutputStream output)

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