Class ListAvailableVersionsResponse.Builder (1.52.0)

public static final class ListAvailableVersionsResponse.Builder extends GeneratedMessageV3.Builder<ListAvailableVersionsResponse.Builder> implements ListAvailableVersionsResponseOrBuilder

Response message for the list available versions request.

Protobuf type google.cloud.datafusion.v1.ListAvailableVersionsResponse

Static Methods

getDescriptor()

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

Methods

addAllAvailableVersions(Iterable<? extends Version> values)

public ListAvailableVersionsResponse.Builder addAllAvailableVersions(Iterable<? extends Version> values)

Represents a list of versions that are supported.

repeated .google.cloud.datafusion.v1.Version available_versions = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.datafusion.v1.Version>
Returns
Type Description
ListAvailableVersionsResponse.Builder

addAvailableVersions(Version value)

public ListAvailableVersionsResponse.Builder addAvailableVersions(Version value)

Represents a list of versions that are supported.

repeated .google.cloud.datafusion.v1.Version available_versions = 1;

Parameter
Name Description
value Version
Returns
Type Description
ListAvailableVersionsResponse.Builder

addAvailableVersions(Version.Builder builderForValue)

public ListAvailableVersionsResponse.Builder addAvailableVersions(Version.Builder builderForValue)

Represents a list of versions that are supported.

repeated .google.cloud.datafusion.v1.Version available_versions = 1;

Parameter
Name Description
builderForValue Version.Builder
Returns
Type Description
ListAvailableVersionsResponse.Builder

addAvailableVersions(int index, Version value)

public ListAvailableVersionsResponse.Builder addAvailableVersions(int index, Version value)

Represents a list of versions that are supported.

repeated .google.cloud.datafusion.v1.Version available_versions = 1;

Parameters
Name Description
index int
value Version
Returns
Type Description
ListAvailableVersionsResponse.Builder

addAvailableVersions(int index, Version.Builder builderForValue)

public ListAvailableVersionsResponse.Builder addAvailableVersions(int index, Version.Builder builderForValue)

Represents a list of versions that are supported.

repeated .google.cloud.datafusion.v1.Version available_versions = 1;

Parameters
Name Description
index int
builderForValue Version.Builder
Returns
Type Description
ListAvailableVersionsResponse.Builder

addAvailableVersionsBuilder()

public Version.Builder addAvailableVersionsBuilder()

Represents a list of versions that are supported.

repeated .google.cloud.datafusion.v1.Version available_versions = 1;

Returns
Type Description
Version.Builder

addAvailableVersionsBuilder(int index)

public Version.Builder addAvailableVersionsBuilder(int index)

Represents a list of versions that are supported.

repeated .google.cloud.datafusion.v1.Version available_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
Version.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAvailableVersionsResponse build()
Returns
Type Description
ListAvailableVersionsResponse

buildPartial()

public ListAvailableVersionsResponse buildPartial()
Returns
Type Description
ListAvailableVersionsResponse

clear()

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

clearAvailableVersions()

public ListAvailableVersionsResponse.Builder clearAvailableVersions()

Represents a list of versions that are supported.

repeated .google.cloud.datafusion.v1.Version available_versions = 1;

Returns
Type Description
ListAvailableVersionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListAvailableVersionsResponse.Builder clearNextPageToken()

Token to retrieve the next page of results or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ListAvailableVersionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAvailableVersions(int index)

public Version getAvailableVersions(int index)

Represents a list of versions that are supported.

repeated .google.cloud.datafusion.v1.Version available_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
Version

getAvailableVersionsBuilder(int index)

public Version.Builder getAvailableVersionsBuilder(int index)

Represents a list of versions that are supported.

repeated .google.cloud.datafusion.v1.Version available_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
Version.Builder

getAvailableVersionsBuilderList()

public List<Version.Builder> getAvailableVersionsBuilderList()

Represents a list of versions that are supported.

repeated .google.cloud.datafusion.v1.Version available_versions = 1;

Returns
Type Description
List<Builder>

getAvailableVersionsCount()

public int getAvailableVersionsCount()

Represents a list of versions that are supported.

repeated .google.cloud.datafusion.v1.Version available_versions = 1;

Returns
Type Description
int

getAvailableVersionsList()

public List<Version> getAvailableVersionsList()

Represents a list of versions that are supported.

repeated .google.cloud.datafusion.v1.Version available_versions = 1;

Returns
Type Description
List<Version>

getAvailableVersionsOrBuilder(int index)

public VersionOrBuilder getAvailableVersionsOrBuilder(int index)

Represents a list of versions that are supported.

repeated .google.cloud.datafusion.v1.Version available_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
VersionOrBuilder

getAvailableVersionsOrBuilderList()

public List<? extends VersionOrBuilder> getAvailableVersionsOrBuilderList()

Represents a list of versions that are supported.

repeated .google.cloud.datafusion.v1.Version available_versions = 1;

Returns
Type Description
List<? extends com.google.cloud.datafusion.v1.VersionOrBuilder>

getDefaultInstanceForType()

public ListAvailableVersionsResponse getDefaultInstanceForType()
Returns
Type Description
ListAvailableVersionsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results or empty if there are no more results in the list.

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(ListAvailableVersionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAvailableVersions(int index)

public ListAvailableVersionsResponse.Builder removeAvailableVersions(int index)

Represents a list of versions that are supported.

repeated .google.cloud.datafusion.v1.Version available_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
ListAvailableVersionsResponse.Builder

setAvailableVersions(int index, Version value)

public ListAvailableVersionsResponse.Builder setAvailableVersions(int index, Version value)

Represents a list of versions that are supported.

repeated .google.cloud.datafusion.v1.Version available_versions = 1;

Parameters
Name Description
index int
value Version
Returns
Type Description
ListAvailableVersionsResponse.Builder

setAvailableVersions(int index, Version.Builder builderForValue)

public ListAvailableVersionsResponse.Builder setAvailableVersions(int index, Version.Builder builderForValue)

Represents a list of versions that are supported.

repeated .google.cloud.datafusion.v1.Version available_versions = 1;

Parameters
Name Description
index int
builderForValue Version.Builder
Returns
Type Description
ListAvailableVersionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListAvailableVersionsResponse.Builder setNextPageToken(String value)

Token to retrieve the next page of results or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListAvailableVersionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAvailableVersionsResponse.Builder setNextPageTokenBytes(ByteString value)

Token to retrieve the next page of results or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListAvailableVersionsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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