Class ListBindingsResponse (0.2.0)

public final class ListBindingsResponse extends GeneratedMessage implements ListBindingsResponseOrBuilder

Message for response to listing Bindings

Protobuf type google.cloud.agentregistry.v1.ListBindingsResponse

Static Fields

BINDINGS_FIELD_NUMBER

public static final int BINDINGS_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 ListBindingsResponse getDefaultInstance()
Returns
Type Description
ListBindingsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListBindingsResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBindings(int index)

public Binding getBindings(int index)

The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: projects/{project}/locations/{location}/bindings/{binding}.

repeated .google.cloud.agentregistry.v1.Binding bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
Binding

getBindingsCount()

public int getBindingsCount()

The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: projects/{project}/locations/{location}/bindings/{binding}.

repeated .google.cloud.agentregistry.v1.Binding bindings = 1;

Returns
Type Description
int

getBindingsList()

public List<Binding> getBindingsList()

The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: projects/{project}/locations/{location}/bindings/{binding}.

repeated .google.cloud.agentregistry.v1.Binding bindings = 1;

Returns
Type Description
List<Binding>

getBindingsOrBuilder(int index)

public BindingOrBuilder getBindingsOrBuilder(int index)

The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: projects/{project}/locations/{location}/bindings/{binding}.

repeated .google.cloud.agentregistry.v1.Binding bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
BindingOrBuilder

getBindingsOrBuilderList()

public List<? extends BindingOrBuilder> getBindingsOrBuilderList()

The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: projects/{project}/locations/{location}/bindings/{binding}.

repeated .google.cloud.agentregistry.v1.Binding bindings = 1;

Returns
Type Description
List<? extends com.google.cloud.agentregistry.v1.BindingOrBuilder>

getDefaultInstanceForType()

public ListBindingsResponse getDefaultInstanceForType()
Returns
Type Description
ListBindingsResponse

getNextPageToken()

public String getNextPageToken()

A token identifying a page of results the server should return. Used in page_token.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results the server should return. Used in page_token.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListBindingsResponse> getParserForType()
Returns
Type Description
Parser<ListBindingsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListBindingsResponse.Builder newBuilderForType()
Returns
Type Description
ListBindingsResponse.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ListBindingsResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListBindingsResponse.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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