Class ListArtifactsResponse.Builder (0.4.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.apigeeregistry.v1.Artifact>
Returns
TypeDescription
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
NameDescription
valueArtifact
Returns
TypeDescription
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
NameDescription
builderForValueArtifact.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueArtifact
Returns
TypeDescription
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
NameDescription
indexint
builderForValueArtifact.Builder
Returns
TypeDescription
ListArtifactsResponse.Builder

addArtifactsBuilder()

public Artifact.Builder addArtifactsBuilder()

The artifacts from the specified publisher.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Artifact.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListArtifactsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListArtifactsResponse.Builder
Overrides

build()

public ListArtifactsResponse build()
Returns
TypeDescription
ListArtifactsResponse

buildPartial()

public ListArtifactsResponse buildPartial()
Returns
TypeDescription
ListArtifactsResponse

clear()

public ListArtifactsResponse.Builder clear()
Returns
TypeDescription
ListArtifactsResponse.Builder
Overrides

clearArtifacts()

public ListArtifactsResponse.Builder clearArtifacts()

The artifacts from the specified publisher.

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

Returns
TypeDescription
ListArtifactsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListArtifactsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListArtifactsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListArtifactsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListArtifactsResponse.Builder
Overrides

clone()

public ListArtifactsResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Artifact.Builder

getArtifactsBuilderList()

public List<Artifact.Builder> getArtifactsBuilderList()

The artifacts from the specified publisher.

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

Returns
TypeDescription
List<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListArtifactsResponse other)

public ListArtifactsResponse.Builder mergeFrom(ListArtifactsResponse other)
Parameter
NameDescription
otherListArtifactsResponse
Returns
TypeDescription
ListArtifactsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListArtifactsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListArtifactsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListArtifactsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListArtifactsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListArtifactsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueArtifact
Returns
TypeDescription
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
NameDescription
indexint
builderForValueArtifact.Builder
Returns
TypeDescription
ListArtifactsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListArtifactsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListArtifactsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListArtifactsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListArtifactsResponse.Builder
Overrides