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
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
addArtifacts(Artifact value)
public ListArtifactsResponse.Builder addArtifacts(Artifact value)
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
Parameter
Returns
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
Returns
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
Returns
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
Returns
addArtifactsBuilder()
public Artifact.Builder addArtifactsBuilder()
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
Returns
addArtifactsBuilder(int index)
public Artifact.Builder addArtifactsBuilder(int index)
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListArtifactsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListArtifactsResponse build()
Returns
buildPartial()
public ListArtifactsResponse buildPartial()
Returns
clear()
public ListArtifactsResponse.Builder clear()
Returns
Overrides
clearArtifacts()
public ListArtifactsResponse.Builder clearArtifacts()
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListArtifactsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListArtifactsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListArtifactsResponse.Builder clone()
Returns
Overrides
getArtifacts(int index)
public Artifact getArtifacts(int index)
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
Parameter
Returns
getArtifactsBuilder(int index)
public Artifact.Builder getArtifactsBuilder(int index)
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
Parameter
Returns
getArtifactsBuilderList()
public List<Artifact.Builder> getArtifactsBuilderList()
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
Returns
getArtifactsCount()
public int getArtifactsCount()
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
Returns
getArtifactsList()
public List<Artifact> getArtifactsList()
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
Returns
getArtifactsOrBuilder(int index)
public ArtifactOrBuilder getArtifactsOrBuilder(int index)
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
Parameter
Returns
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListArtifactsResponse other)
public ListArtifactsResponse.Builder mergeFrom(ListArtifactsResponse other)
Parameter
Returns
public ListArtifactsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListArtifactsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListArtifactsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListArtifactsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListArtifactsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListArtifactsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides