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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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>
|
public ListMavenArtifactsResponse.Builder addMavenArtifacts(MavenArtifact value)
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
public ListMavenArtifactsResponse.Builder addMavenArtifacts(MavenArtifact.Builder builderForValue)
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
public ListMavenArtifactsResponse.Builder addMavenArtifacts(int index, MavenArtifact value)
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
public ListMavenArtifactsResponse.Builder addMavenArtifacts(int index, MavenArtifact.Builder builderForValue)
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
public MavenArtifact.Builder addMavenArtifactsBuilder()
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
public MavenArtifact.Builder addMavenArtifactsBuilder(int index)
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
Parameter |
Name |
Description |
index |
int
|
public ListMavenArtifactsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListMavenArtifactsResponse build()
public ListMavenArtifactsResponse buildPartial()
public ListMavenArtifactsResponse.Builder clear()
Overrides
public ListMavenArtifactsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ListMavenArtifactsResponse.Builder clearMavenArtifacts()
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
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;
public ListMavenArtifactsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListMavenArtifactsResponse.Builder clone()
Overrides
public ListMavenArtifactsResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public MavenArtifact getMavenArtifacts(int index)
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
Parameter |
Name |
Description |
index |
int
|
public MavenArtifact.Builder getMavenArtifactsBuilder(int index)
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
Parameter |
Name |
Description |
index |
int
|
public List<MavenArtifact.Builder> getMavenArtifactsBuilderList()
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
public int getMavenArtifactsCount()
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
Returns |
Type |
Description |
int |
|
public List<MavenArtifact> getMavenArtifactsList()
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
public MavenArtifactOrBuilder getMavenArtifactsOrBuilder(int index)
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
Parameter |
Name |
Description |
index |
int
|
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()
Overrides
public final boolean isInitialized()
Overrides
public ListMavenArtifactsResponse.Builder mergeFrom(ListMavenArtifactsResponse other)
public ListMavenArtifactsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListMavenArtifactsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final ListMavenArtifactsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ListMavenArtifactsResponse.Builder removeMavenArtifacts(int index)
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
Parameter |
Name |
Description |
index |
int
|
public ListMavenArtifactsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListMavenArtifactsResponse.Builder setMavenArtifacts(int index, MavenArtifact value)
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
public ListMavenArtifactsResponse.Builder setMavenArtifacts(int index, MavenArtifact.Builder builderForValue)
The maven artifacts returned.
repeated .google.devtools.artifactregistry.v1.MavenArtifact maven_artifacts = 1;
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.
|
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.
|
public ListMavenArtifactsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListMavenArtifactsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides