Class GuestPolicies.ListGuestPoliciesResponse (2.4.3)

public static final class GuestPolicies.ListGuestPoliciesResponse extends GeneratedMessageV3 implements GuestPolicies.ListGuestPoliciesResponseOrBuilder

A response message for listing guest policies.

Protobuf type google.cloud.osconfig.v1beta.ListGuestPoliciesResponse

Inheritance

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

Static Fields

GUEST_POLICIES_FIELD_NUMBER

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

getDescriptor()

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

newBuilder()

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

newBuilder(GuestPolicies.ListGuestPoliciesResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getGuestPolicies(int index)

public GuestPolicies.GuestPolicy getGuestPolicies(int index)

The list of GuestPolicies.

repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
GuestPolicies.GuestPolicy

getGuestPoliciesCount()

public int getGuestPoliciesCount()

The list of GuestPolicies.

repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;

Returns
TypeDescription
int

getGuestPoliciesList()

public List<GuestPolicies.GuestPolicy> getGuestPoliciesList()

The list of GuestPolicies.

repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;

Returns
TypeDescription
List<GuestPolicy>

getGuestPoliciesOrBuilder(int index)

public GuestPolicies.GuestPolicyOrBuilder getGuestPoliciesOrBuilder(int index)

The list of GuestPolicies.

repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
GuestPolicies.GuestPolicyOrBuilder

getGuestPoliciesOrBuilderList()

public List<? extends GuestPolicies.GuestPolicyOrBuilder> getGuestPoliciesOrBuilderList()

The list of GuestPolicies.

repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;

Returns
TypeDescription
List<? extends com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder>

getNextPageToken()

public String getNextPageToken()

A pagination token that can be used to get the next page of guest policies.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A pagination token that can be used to get the next page of guest policies.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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.ListGuestPoliciesResponse.Builder newBuilderForType()
Returns
TypeDescription
GuestPolicies.ListGuestPoliciesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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