public static final class ListArtifactsResponse.Builder extends GeneratedMessageV3.Builder<ListArtifactsResponse.Builder> implements ListArtifactsResponseOrBuilder
Response message for
MetadataService.ListArtifacts.
Protobuf type google.cloud.aiplatform.v1.ListArtifactsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ListArtifactsResponse.Builder addAllArtifacts(Iterable<? extends Artifact> values)
The Artifacts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1.Artifact>
|
Returns
public ListArtifactsResponse.Builder addArtifacts(Artifact value)
The Artifacts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
Parameter
Returns
public ListArtifactsResponse.Builder addArtifacts(Artifact.Builder builderForValue)
The Artifacts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
Parameter
Returns
public ListArtifactsResponse.Builder addArtifacts(int index, Artifact value)
The Artifacts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
Parameters
Returns
public ListArtifactsResponse.Builder addArtifacts(int index, Artifact.Builder builderForValue)
The Artifacts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
Parameters
Returns
public Artifact.Builder addArtifactsBuilder()
The Artifacts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
Returns
public Artifact.Builder addArtifactsBuilder(int index)
The Artifacts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
Parameter
Returns
public ListArtifactsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListArtifactsResponse build()
Returns
public ListArtifactsResponse buildPartial()
Returns
public ListArtifactsResponse.Builder clear()
Returns
Overrides
public ListArtifactsResponse.Builder clearArtifacts()
The Artifacts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
Returns
public ListArtifactsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListArtifactsResponse.Builder clearNextPageToken()
A token, which can be sent as
ListArtifactsRequest.page_token
to retrieve the next page.
If this field is not populated, there are no subsequent pages.
string next_page_token = 2;
Returns
public ListArtifactsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListArtifactsResponse.Builder clone()
Returns
Overrides
public Artifact getArtifacts(int index)
The Artifacts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
Parameter
Returns
public Artifact.Builder getArtifactsBuilder(int index)
The Artifacts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
Parameter
Returns
public List<Artifact.Builder> getArtifactsBuilderList()
The Artifacts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
Returns
public int getArtifactsCount()
The Artifacts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
Returns
public List<Artifact> getArtifactsList()
The Artifacts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
Returns
public ArtifactOrBuilder getArtifactsOrBuilder(int index)
The Artifacts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
Parameter
Returns
public List<? extends ArtifactOrBuilder> getArtifactsOrBuilderList()
The Artifacts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
Returns
Type | Description |
List<? extends com.google.cloud.aiplatform.v1.ArtifactOrBuilder> | |
public ListArtifactsResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
A token, which can be sent as
ListArtifactsRequest.page_token
to retrieve the next page.
If this field is not populated, 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
ListArtifactsRequest.page_token
to retrieve the next page.
If this field is not populated, there are no subsequent pages.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListArtifactsResponse.Builder mergeFrom(ListArtifactsResponse other)
Parameter
Returns
public ListArtifactsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListArtifactsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ListArtifactsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListArtifactsResponse.Builder removeArtifacts(int index)
The Artifacts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
Parameter
Returns
public ListArtifactsResponse.Builder setArtifacts(int index, Artifact value)
The Artifacts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
Parameters
Returns
public ListArtifactsResponse.Builder setArtifacts(int index, Artifact.Builder builderForValue)
The Artifacts retrieved from the MetadataStore.
repeated .google.cloud.aiplatform.v1.Artifact artifacts = 1;
Parameters
Returns
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
ListArtifactsRequest.page_token
to retrieve the next page.
If this field is not populated, 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
ListArtifactsRequest.page_token
to retrieve the next page.
If this field is not populated, there are no subsequent pages.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
public ListArtifactsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ListArtifactsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides