Class ListImageVersionsResponse.Builder (1.21.0)

public static final class ListImageVersionsResponse.Builder extends GeneratedMessageV3.Builder<ListImageVersionsResponse.Builder> implements ListImageVersionsResponseOrBuilder

The ImageVersions in a project and location.

Protobuf type google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllImageVersions(Iterable<? extends ImageVersion> values)

public ListImageVersionsResponse.Builder addAllImageVersions(Iterable<? extends ImageVersion> values)

The list of supported ImageVersions in a location.

repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.orchestration.airflow.service.v1.ImageVersion>
Returns
Type Description
ListImageVersionsResponse.Builder

addImageVersions(ImageVersion value)

public ListImageVersionsResponse.Builder addImageVersions(ImageVersion value)

The list of supported ImageVersions in a location.

repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1;

Parameter
Name Description
value ImageVersion
Returns
Type Description
ListImageVersionsResponse.Builder

addImageVersions(ImageVersion.Builder builderForValue)

public ListImageVersionsResponse.Builder addImageVersions(ImageVersion.Builder builderForValue)

The list of supported ImageVersions in a location.

repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1;

Parameter
Name Description
builderForValue ImageVersion.Builder
Returns
Type Description
ListImageVersionsResponse.Builder

addImageVersions(int index, ImageVersion value)

public ListImageVersionsResponse.Builder addImageVersions(int index, ImageVersion value)

The list of supported ImageVersions in a location.

repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1;

Parameters
Name Description
index int
value ImageVersion
Returns
Type Description
ListImageVersionsResponse.Builder

addImageVersions(int index, ImageVersion.Builder builderForValue)

public ListImageVersionsResponse.Builder addImageVersions(int index, ImageVersion.Builder builderForValue)

The list of supported ImageVersions in a location.

repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1;

Parameters
Name Description
index int
builderForValue ImageVersion.Builder
Returns
Type Description
ListImageVersionsResponse.Builder

addImageVersionsBuilder()

public ImageVersion.Builder addImageVersionsBuilder()

The list of supported ImageVersions in a location.

repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1;

Returns
Type Description
ImageVersion.Builder

addImageVersionsBuilder(int index)

public ImageVersion.Builder addImageVersionsBuilder(int index)

The list of supported ImageVersions in a location.

repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
ImageVersion.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListImageVersionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListImageVersionsResponse.Builder
Overrides

build()

public ListImageVersionsResponse build()
Returns
Type Description
ListImageVersionsResponse

buildPartial()

public ListImageVersionsResponse buildPartial()
Returns
Type Description
ListImageVersionsResponse

clear()

public ListImageVersionsResponse.Builder clear()
Returns
Type Description
ListImageVersionsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListImageVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListImageVersionsResponse.Builder
Overrides

clearImageVersions()

public ListImageVersionsResponse.Builder clearImageVersions()

The list of supported ImageVersions in a location.

repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1;

Returns
Type Description
ListImageVersionsResponse.Builder

clearNextPageToken()

public ListImageVersionsResponse.Builder clearNextPageToken()

The page token used to query for the next page if one exists.

string next_page_token = 2;

Returns
Type Description
ListImageVersionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListImageVersionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListImageVersionsResponse.Builder
Overrides

clone()

public ListImageVersionsResponse.Builder clone()
Returns
Type Description
ListImageVersionsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListImageVersionsResponse getDefaultInstanceForType()
Returns
Type Description
ListImageVersionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getImageVersions(int index)

public ImageVersion getImageVersions(int index)

The list of supported ImageVersions in a location.

repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
ImageVersion

getImageVersionsBuilder(int index)

public ImageVersion.Builder getImageVersionsBuilder(int index)

The list of supported ImageVersions in a location.

repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
ImageVersion.Builder

getImageVersionsBuilderList()

public List<ImageVersion.Builder> getImageVersionsBuilderList()

The list of supported ImageVersions in a location.

repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1;

Returns
Type Description
List<Builder>

getImageVersionsCount()

public int getImageVersionsCount()

The list of supported ImageVersions in a location.

repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1;

Returns
Type Description
int

getImageVersionsList()

public List<ImageVersion> getImageVersionsList()

The list of supported ImageVersions in a location.

repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1;

Returns
Type Description
List<ImageVersion>

getImageVersionsOrBuilder(int index)

public ImageVersionOrBuilder getImageVersionsOrBuilder(int index)

The list of supported ImageVersions in a location.

repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
ImageVersionOrBuilder

getImageVersionsOrBuilderList()

public List<? extends ImageVersionOrBuilder> getImageVersionsOrBuilderList()

The list of supported ImageVersions in a location.

repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1;

Returns
Type Description
List<? extends com.google.cloud.orchestration.airflow.service.v1.ImageVersionOrBuilder>

getNextPageToken()

public String getNextPageToken()

The page token used to query for the next page if one exists.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The page token used to query for the next page if one exists.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListImageVersionsResponse other)

public ListImageVersionsResponse.Builder mergeFrom(ListImageVersionsResponse other)
Parameter
Name Description
other ListImageVersionsResponse
Returns
Type Description
ListImageVersionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListImageVersionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListImageVersionsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListImageVersionsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListImageVersionsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListImageVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListImageVersionsResponse.Builder
Overrides

removeImageVersions(int index)

public ListImageVersionsResponse.Builder removeImageVersions(int index)

The list of supported ImageVersions in a location.

repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
ListImageVersionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListImageVersionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListImageVersionsResponse.Builder
Overrides

setImageVersions(int index, ImageVersion value)

public ListImageVersionsResponse.Builder setImageVersions(int index, ImageVersion value)

The list of supported ImageVersions in a location.

repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1;

Parameters
Name Description
index int
value ImageVersion
Returns
Type Description
ListImageVersionsResponse.Builder

setImageVersions(int index, ImageVersion.Builder builderForValue)

public ListImageVersionsResponse.Builder setImageVersions(int index, ImageVersion.Builder builderForValue)

The list of supported ImageVersions in a location.

repeated .google.cloud.orchestration.airflow.service.v1.ImageVersion image_versions = 1;

Parameters
Name Description
index int
builderForValue ImageVersion.Builder
Returns
Type Description
ListImageVersionsResponse.Builder

setNextPageToken(String value)

public ListImageVersionsResponse.Builder setNextPageToken(String value)

The page token used to query for the next page if one exists.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListImageVersionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListImageVersionsResponse.Builder setNextPageTokenBytes(ByteString value)

The page token used to query for the next page if one exists.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListImageVersionsResponse.Builder

This builder for chaining.

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

public ListImageVersionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListImageVersionsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListImageVersionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListImageVersionsResponse.Builder
Overrides