Class ListPublisherModelsResponse (3.36.0)

public final class ListPublisherModelsResponse extends GeneratedMessageV3 implements ListPublisherModelsResponseOrBuilder

Response message for ModelGardenService.ListPublisherModels.

Protobuf type google.cloud.aiplatform.v1beta1.ListPublisherModelsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

PUBLISHER_MODELS_FIELD_NUMBER

public static final int PUBLISHER_MODELS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListPublisherModelsResponse getDefaultInstance()
Returns
TypeDescription
ListPublisherModelsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListPublisherModelsResponse prototype)

public static ListPublisherModelsResponse.Builder newBuilder(ListPublisherModelsResponse prototype)
Parameter
NameDescription
prototypeListPublisherModelsResponse
Returns
TypeDescription
ListPublisherModelsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListPublisherModelsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListPublisherModelsResponse

getNextPageToken()

public String getNextPageToken()

A token to retrieve next page of results. Pass to [ListPublisherModels.page_token][] to obtain that page.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve next page of results. Pass to [ListPublisherModels.page_token][] to obtain that page.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListPublisherModelsResponse> getParserForType()
Returns
TypeDescription
Parser<ListPublisherModelsResponse>
Overrides

getPublisherModels(int index)

public PublisherModel getPublisherModels(int index)

List of PublisherModels in the requested page.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PublisherModel

getPublisherModelsCount()

public int getPublisherModelsCount()

List of PublisherModels in the requested page.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;

Returns
TypeDescription
int

getPublisherModelsList()

public List<PublisherModel> getPublisherModelsList()

List of PublisherModels in the requested page.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;

Returns
TypeDescription
List<PublisherModel>

getPublisherModelsOrBuilder(int index)

public PublisherModelOrBuilder getPublisherModelsOrBuilder(int index)

List of PublisherModels in the requested page.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PublisherModelOrBuilder

getPublisherModelsOrBuilderList()

public List<? extends PublisherModelOrBuilder> getPublisherModelsOrBuilderList()

List of PublisherModels in the requested page.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.PublisherModelOrBuilder>

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 ListPublisherModelsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListPublisherModelsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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