Class ListArtifactsResponse.Builder (0.44.0)

public static final class ListArtifactsResponse.Builder extends GeneratedMessageV3.Builder<ListArtifactsResponse.Builder> implements ListArtifactsResponseOrBuilder

Response message for ListArtifacts.

Protobuf type google.cloud.apigeeregistry.v1.ListArtifactsResponse

Static Methods

getDescriptor()

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

Methods

addAllArtifacts(Iterable<? extends Artifact> values)

public ListArtifactsResponse.Builder addAllArtifacts(Iterable<? extends Artifact> values)

The artifacts from the specified publisher.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.apigeeregistry.v1.Artifact>
Returns
Type Description
ListArtifactsResponse.Builder

addArtifacts(Artifact value)

public ListArtifactsResponse.Builder addArtifacts(Artifact value)

The artifacts from the specified publisher.

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

Parameter
Name Description
value Artifact
Returns
Type Description
ListArtifactsResponse.Builder

addArtifacts(Artifact.Builder builderForValue)

public ListArtifactsResponse.Builder addArtifacts(Artifact.Builder builderForValue)

The artifacts from the specified publisher.

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

Parameter
Name Description
builderForValue Artifact.Builder
Returns
Type Description
ListArtifactsResponse.Builder

addArtifacts(int index, Artifact value)

public ListArtifactsResponse.Builder addArtifacts(int index, Artifact value)

The artifacts from the specified publisher.

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

Parameters
Name Description
index int
value Artifact
Returns
Type Description
ListArtifactsResponse.Builder

addArtifacts(int index, Artifact.Builder builderForValue)

public ListArtifactsResponse.Builder addArtifacts(int index, Artifact.Builder builderForValue)

The artifacts from the specified publisher.

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

Parameters
Name Description
index int
builderForValue Artifact.Builder
Returns
Type Description
ListArtifactsResponse.Builder

addArtifactsBuilder()

public Artifact.Builder addArtifactsBuilder()

The artifacts from the specified publisher.

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

Returns
Type Description
Artifact.Builder

addArtifactsBuilder(int index)

public Artifact.Builder addArtifactsBuilder(int index)

The artifacts from the specified publisher.

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

Parameter
Name Description
index int
Returns
Type Description
Artifact.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListArtifactsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListArtifactsResponse.Builder
Overrides

build()

public ListArtifactsResponse build()
Returns
Type Description
ListArtifactsResponse

buildPartial()

public ListArtifactsResponse buildPartial()
Returns
Type Description
ListArtifactsResponse

clear()

public ListArtifactsResponse.Builder clear()
Returns
Type Description
ListArtifactsResponse.Builder
Overrides

clearArtifacts()

public ListArtifactsResponse.Builder clearArtifacts()

The artifacts from the specified publisher.

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

Returns
Type Description
ListArtifactsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListArtifactsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListArtifactsResponse.Builder
Overrides

clearNextPageToken()

public ListArtifactsResponse.Builder clearNextPageToken()

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
Type Description
ListArtifactsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListArtifactsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListArtifactsResponse.Builder
Overrides

clone()

public ListArtifactsResponse.Builder clone()
Returns
Type Description
ListArtifactsResponse.Builder
Overrides

getArtifacts(int index)

public Artifact getArtifacts(int index)

The artifacts from the specified publisher.

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

Parameter
Name Description
index int
Returns
Type Description
Artifact

getArtifactsBuilder(int index)

public Artifact.Builder getArtifactsBuilder(int index)

The artifacts from the specified publisher.

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

Parameter
Name Description
index int
Returns
Type Description
Artifact.Builder

getArtifactsBuilderList()

public List<Artifact.Builder> getArtifactsBuilderList()

The artifacts from the specified publisher.

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

Returns
Type Description
List<Builder>

getArtifactsCount()

public int getArtifactsCount()

The artifacts from the specified publisher.

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

Returns
Type Description
int

getArtifactsList()

public List<Artifact> getArtifactsList()

The artifacts from the specified publisher.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
ArtifactOrBuilder

getArtifactsOrBuilderList()

public List<? extends ArtifactOrBuilder> getArtifactsOrBuilderList()

The artifacts from the specified publisher.

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

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

getDefaultInstanceForType()

public ListArtifactsResponse getDefaultInstanceForType()
Returns
Type Description
ListArtifactsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
Type Description
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
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListArtifactsResponse other)

public ListArtifactsResponse.Builder mergeFrom(ListArtifactsResponse other)
Parameter
Name Description
other ListArtifactsResponse
Returns
Type Description
ListArtifactsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListArtifactsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListArtifactsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListArtifactsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListArtifactsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListArtifactsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListArtifactsResponse.Builder
Overrides

removeArtifacts(int index)

public ListArtifactsResponse.Builder removeArtifacts(int index)

The artifacts from the specified publisher.

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

Parameter
Name Description
index int
Returns
Type Description
ListArtifactsResponse.Builder

setArtifacts(int index, Artifact value)

public ListArtifactsResponse.Builder setArtifacts(int index, Artifact value)

The artifacts from the specified publisher.

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

Parameters
Name Description
index int
value Artifact
Returns
Type Description
ListArtifactsResponse.Builder

setArtifacts(int index, Artifact.Builder builderForValue)

public ListArtifactsResponse.Builder setArtifacts(int index, Artifact.Builder builderForValue)

The artifacts from the specified publisher.

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

Parameters
Name Description
index int
builderForValue Artifact.Builder
Returns
Type Description
ListArtifactsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListArtifactsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListArtifactsResponse.Builder
Overrides

setNextPageToken(String value)

public ListArtifactsResponse.Builder setNextPageToken(String value)

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;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListArtifactsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListArtifactsResponse.Builder setNextPageTokenBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListArtifactsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListArtifactsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListArtifactsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListArtifactsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListArtifactsResponse.Builder
Overrides