Class ListDockerImagesResponse.Builder (1.22.0)

public static final class ListDockerImagesResponse.Builder extends GeneratedMessageV3.Builder<ListDockerImagesResponse.Builder> implements ListDockerImagesResponseOrBuilder

The response from listing docker images.

Protobuf type google.devtools.artifactregistry.v1.ListDockerImagesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllDockerImages(Iterable<? extends DockerImage> values)

public ListDockerImagesResponse.Builder addAllDockerImages(Iterable<? extends DockerImage> values)

The docker images returned.

repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.devtools.artifactregistry.v1.DockerImage>
Returns
TypeDescription
ListDockerImagesResponse.Builder

addDockerImages(DockerImage value)

public ListDockerImagesResponse.Builder addDockerImages(DockerImage value)

The docker images returned.

repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1;

Parameter
NameDescription
valueDockerImage
Returns
TypeDescription
ListDockerImagesResponse.Builder

addDockerImages(DockerImage.Builder builderForValue)

public ListDockerImagesResponse.Builder addDockerImages(DockerImage.Builder builderForValue)

The docker images returned.

repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1;

Parameter
NameDescription
builderForValueDockerImage.Builder
Returns
TypeDescription
ListDockerImagesResponse.Builder

addDockerImages(int index, DockerImage value)

public ListDockerImagesResponse.Builder addDockerImages(int index, DockerImage value)

The docker images returned.

repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1;

Parameters
NameDescription
indexint
valueDockerImage
Returns
TypeDescription
ListDockerImagesResponse.Builder

addDockerImages(int index, DockerImage.Builder builderForValue)

public ListDockerImagesResponse.Builder addDockerImages(int index, DockerImage.Builder builderForValue)

The docker images returned.

repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1;

Parameters
NameDescription
indexint
builderForValueDockerImage.Builder
Returns
TypeDescription
ListDockerImagesResponse.Builder

addDockerImagesBuilder()

public DockerImage.Builder addDockerImagesBuilder()

The docker images returned.

repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1;

Returns
TypeDescription
DockerImage.Builder

addDockerImagesBuilder(int index)

public DockerImage.Builder addDockerImagesBuilder(int index)

The docker images returned.

repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DockerImage.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDockerImagesResponse build()
Returns
TypeDescription
ListDockerImagesResponse

buildPartial()

public ListDockerImagesResponse buildPartial()
Returns
TypeDescription
ListDockerImagesResponse

clear()

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

clearDockerImages()

public ListDockerImagesResponse.Builder clearDockerImages()

The docker images returned.

repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1;

Returns
TypeDescription
ListDockerImagesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListDockerImagesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListDockerImagesResponse.Builder
Overrides

clearNextPageToken()

public ListDockerImagesResponse.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
TypeDescription
ListDockerImagesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListDockerImagesResponse.Builder clone()
Returns
TypeDescription
ListDockerImagesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListDockerImagesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDockerImagesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDockerImages(int index)

public DockerImage getDockerImages(int index)

The docker images returned.

repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DockerImage

getDockerImagesBuilder(int index)

public DockerImage.Builder getDockerImagesBuilder(int index)

The docker images returned.

repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DockerImage.Builder

getDockerImagesBuilderList()

public List<DockerImage.Builder> getDockerImagesBuilderList()

The docker images returned.

repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1;

Returns
TypeDescription
List<Builder>

getDockerImagesCount()

public int getDockerImagesCount()

The docker images returned.

repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1;

Returns
TypeDescription
int

getDockerImagesList()

public List<DockerImage> getDockerImagesList()

The docker images returned.

repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1;

Returns
TypeDescription
List<DockerImage>

getDockerImagesOrBuilder(int index)

public DockerImageOrBuilder getDockerImagesOrBuilder(int index)

The docker images returned.

repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DockerImageOrBuilder

getDockerImagesOrBuilderList()

public List<? extends DockerImageOrBuilder> getDockerImagesOrBuilderList()

The docker images returned.

repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1;

Returns
TypeDescription
List<? extends com.google.devtools.artifactregistry.v1.DockerImageOrBuilder>

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
TypeDescription
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
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(ListDockerImagesResponse other)

public ListDockerImagesResponse.Builder mergeFrom(ListDockerImagesResponse other)
Parameter
NameDescription
otherListDockerImagesResponse
Returns
TypeDescription
ListDockerImagesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDockerImagesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListDockerImagesResponse.Builder
Overrides

removeDockerImages(int index)

public ListDockerImagesResponse.Builder removeDockerImages(int index)

The docker images returned.

repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListDockerImagesResponse.Builder

setDockerImages(int index, DockerImage value)

public ListDockerImagesResponse.Builder setDockerImages(int index, DockerImage value)

The docker images returned.

repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1;

Parameters
NameDescription
indexint
valueDockerImage
Returns
TypeDescription
ListDockerImagesResponse.Builder

setDockerImages(int index, DockerImage.Builder builderForValue)

public ListDockerImagesResponse.Builder setDockerImages(int index, DockerImage.Builder builderForValue)

The docker images returned.

repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1;

Parameters
NameDescription
indexint
builderForValueDockerImage.Builder
Returns
TypeDescription
ListDockerImagesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListDockerImagesResponse.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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListDockerImagesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDockerImagesResponse.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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListDockerImagesResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListDockerImagesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListDockerImagesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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