Class ListArtifactsResponse (0.39.0)

public final class ListArtifactsResponse extends GeneratedMessageV3 implements ListArtifactsResponseOrBuilder

Response message for ListArtifacts.

Protobuf type google.cloud.apigeeregistry.v1.ListArtifactsResponse

Static Fields

ARTIFACTS_FIELD_NUMBER

public static final int ARTIFACTS_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 ListArtifactsResponse getDefaultInstance()
Returns
TypeDescription
ListArtifactsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListArtifactsResponse prototype)

public static ListArtifactsResponse.Builder newBuilder(ListArtifactsResponse prototype)
Parameter
NameDescription
prototypeListArtifactsResponse
Returns
TypeDescription
ListArtifactsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getArtifacts(int index)

public Artifact getArtifacts(int index)

The artifacts from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Artifact

getArtifactsCount()

public int getArtifactsCount()

The artifacts from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;

Returns
TypeDescription
int

getArtifactsList()

public List<Artifact> getArtifactsList()

The artifacts from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;

Returns
TypeDescription
List<Artifact>

getArtifactsOrBuilder(int index)

public ArtifactOrBuilder getArtifactsOrBuilder(int index)

The artifacts from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ArtifactOrBuilder

getArtifactsOrBuilderList()

public List<? extends ArtifactOrBuilder> getArtifactsOrBuilderList()

The artifacts from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;

Returns
TypeDescription
List<? extends com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder>

getDefaultInstanceForType()

public ListArtifactsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListArtifactsResponse

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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