public static final class ListMavenArtifactsResponse.Builder extends GeneratedMessageV3.Builder<ListMavenArtifactsResponse.Builder> implements ListMavenArtifactsResponseOrBuilder
The response from listing maven artifacts.
Protobuf type google.devtools.artifactregistry.v1.ListMavenArtifactsResponse
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 ListMavenArtifactsResponse.Builder addAllMavenArtifacts(Iterable<? extends MavenArtifact> values)
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.devtools.artifactregistry.v1.MavenArtifact>
|
Returns
public ListMavenArtifactsResponse.Builder addMavenArtifacts(MavenArtifact value)
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
Parameter
Returns
public ListMavenArtifactsResponse.Builder addMavenArtifacts(MavenArtifact.Builder builderForValue)
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
Parameter
Returns
public ListMavenArtifactsResponse.Builder addMavenArtifacts(int index, MavenArtifact value)
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
Parameters
Returns
public ListMavenArtifactsResponse.Builder addMavenArtifacts(int index, MavenArtifact.Builder builderForValue)
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
Parameters
Returns
public MavenArtifact.Builder addMavenArtifactsBuilder()
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
Returns
public MavenArtifact.Builder addMavenArtifactsBuilder(int index)
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
Parameter
Returns
public ListMavenArtifactsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListMavenArtifactsResponse build()
Returns
public ListMavenArtifactsResponse buildPartial()
Returns
public ListMavenArtifactsResponse.Builder clear()
Returns
Overrides
public ListMavenArtifactsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ListMavenArtifactsResponse.Builder clearMavenArtifacts()
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
Returns
clearNextPageToken()
public ListMavenArtifactsResponse.Builder clearNextPageToken()
The token to retrieve the next page of artifacts, or empty if there are no
more artifacts to return.
string next_page_token = 2;
Returns
public ListMavenArtifactsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListMavenArtifactsResponse.Builder clone()
Returns
Overrides
public ListMavenArtifactsResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public MavenArtifact getMavenArtifacts(int index)
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
Parameter
Returns
public MavenArtifact.Builder getMavenArtifactsBuilder(int index)
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
Parameter
Returns
public List<MavenArtifact.Builder> getMavenArtifactsBuilderList()
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
Returns
public int getMavenArtifactsCount()
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
Returns
public List<MavenArtifact> getMavenArtifactsList()
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
Returns
public MavenArtifactOrBuilder getMavenArtifactsOrBuilder(int index)
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
Parameter
Returns
public List<? extends MavenArtifactOrBuilder> getMavenArtifactsOrBuilderList()
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
Returns
Type | Description |
List<? extends com.google.devtools.artifactregistry.v1.MavenArtifactOrBuilder> | |
getNextPageToken()
public String getNextPageToken()
The token to retrieve the next page of artifacts, or empty if there are no
more artifacts to return.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
The token to retrieve the next page of artifacts, or empty if there are no
more artifacts to return.
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 ListMavenArtifactsResponse.Builder mergeFrom(ListMavenArtifactsResponse other)
Parameter
Returns
public ListMavenArtifactsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListMavenArtifactsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ListMavenArtifactsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListMavenArtifactsResponse.Builder removeMavenArtifacts(int index)
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
Parameter
Returns
public ListMavenArtifactsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListMavenArtifactsResponse.Builder setMavenArtifacts(int index, MavenArtifact value)
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
Parameters
Returns
public ListMavenArtifactsResponse.Builder setMavenArtifacts(int index, MavenArtifact.Builder builderForValue)
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
Parameters
Returns
setNextPageToken(String value)
public ListMavenArtifactsResponse.Builder setNextPageToken(String value)
The token to retrieve the next page of artifacts, or empty if there are no
more artifacts to return.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListMavenArtifactsResponse.Builder setNextPageTokenBytes(ByteString value)
The token to retrieve the next page of artifacts, or empty if there are no
more artifacts to return.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
public ListMavenArtifactsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ListMavenArtifactsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides