Class ListEndpointPoliciesResponse (0.3.0)

public final class ListEndpointPoliciesResponse extends GeneratedMessageV3 implements ListEndpointPoliciesResponseOrBuilder

Response returned by the ListEndpointPolicies method.

Protobuf type google.cloud.networkservices.v1.ListEndpointPoliciesResponse

Static Fields

ENDPOINT_POLICIES_FIELD_NUMBER

public static final int ENDPOINT_POLICIES_FIELD_NUMBER
Field Value
Type Description
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListEndpointPoliciesResponse getDefaultInstance()
Returns
Type Description
ListEndpointPoliciesResponse

getDescriptor()

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

newBuilder()

public static ListEndpointPoliciesResponse.Builder newBuilder()
Returns
Type Description
ListEndpointPoliciesResponse.Builder

newBuilder(ListEndpointPoliciesResponse prototype)

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

parseDelimitedFrom(InputStream input)

public static ListEndpointPoliciesResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListEndpointPoliciesResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ListEndpointPoliciesResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListEndpointPoliciesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ListEndpointPoliciesResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListEndpointPoliciesResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ListEndpointPoliciesResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListEndpointPoliciesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ListEndpointPoliciesResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListEndpointPoliciesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ListEndpointPoliciesResponse> parser()
Returns
Type Description
Parser<ListEndpointPoliciesResponse>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListEndpointPoliciesResponse getDefaultInstanceForType()
Returns
Type Description
ListEndpointPoliciesResponse

getEndpointPolicies(int index)

public EndpointPolicy getEndpointPolicies(int index)

List of EndpointPolicy resources.

repeated .google.cloud.networkservices.v1.EndpointPolicy endpoint_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
EndpointPolicy

getEndpointPoliciesCount()

public int getEndpointPoliciesCount()

List of EndpointPolicy resources.

repeated .google.cloud.networkservices.v1.EndpointPolicy endpoint_policies = 1;

Returns
Type Description
int

getEndpointPoliciesList()

public List<EndpointPolicy> getEndpointPoliciesList()

List of EndpointPolicy resources.

repeated .google.cloud.networkservices.v1.EndpointPolicy endpoint_policies = 1;

Returns
Type Description
List<EndpointPolicy>

getEndpointPoliciesOrBuilder(int index)

public EndpointPolicyOrBuilder getEndpointPoliciesOrBuilder(int index)

List of EndpointPolicy resources.

repeated .google.cloud.networkservices.v1.EndpointPolicy endpoint_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
EndpointPolicyOrBuilder

getEndpointPoliciesOrBuilderList()

public List<? extends EndpointPolicyOrBuilder> getEndpointPoliciesOrBuilderList()

List of EndpointPolicy resources.

repeated .google.cloud.networkservices.v1.EndpointPolicy endpoint_policies = 1;

Returns
Type Description
List<? extends com.google.cloud.networkservices.v1.EndpointPolicyOrBuilder>

getNextPageToken()

public String getNextPageToken()

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListEndpointPoliciesResponse> getParserForType()
Returns
Type Description
Parser<ListEndpointPoliciesResponse>
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 ListEndpointPoliciesResponse.Builder newBuilderForType()
Returns
Type Description
ListEndpointPoliciesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ListEndpointPoliciesResponse.Builder toBuilder()
Returns
Type Description
ListEndpointPoliciesResponse.Builder

writeTo(CodedOutputStream output)

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