Class ListAvailableVersionsResponse.Builder (1.8.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.datafusion.v1.Version>
Returns
TypeDescription
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
NameDescription
valueVersion
Returns
TypeDescription
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
NameDescription
builderForValueVersion.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueVersion
Returns
TypeDescription
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
NameDescription
indexint
builderForValueVersion.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Version.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAvailableVersionsResponse build()
Returns
TypeDescription
ListAvailableVersionsResponse

buildPartial()

public ListAvailableVersionsResponse buildPartial()
Returns
TypeDescription
ListAvailableVersionsResponse

clear()

public ListAvailableVersionsResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ListAvailableVersionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListAvailableVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListAvailableVersionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListAvailableVersionsResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getAvailableVersionsCount()

public int getAvailableVersionsCount()

Represents a list of versions that are supported.

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

Returns
TypeDescription
int

getAvailableVersionsList()

public List<Version> getAvailableVersionsList()

Represents a list of versions that are supported.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.datafusion.v1.VersionOrBuilder>

getDefaultInstanceForType()

public ListAvailableVersionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAvailableVersionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
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(ListAvailableVersionsResponse other)

public ListAvailableVersionsResponse.Builder mergeFrom(ListAvailableVersionsResponse other)
Parameter
NameDescription
otherListAvailableVersionsResponse
Returns
TypeDescription
ListAvailableVersionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAvailableVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueVersion
Returns
TypeDescription
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
NameDescription
indexint
builderForValueVersion.Builder
Returns
TypeDescription
ListAvailableVersionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListAvailableVersionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListAvailableVersionsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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