Class ListExtensionsResponse.Builder (3.40.0)

public static final class ListExtensionsResponse.Builder extends GeneratedMessageV3.Builder<ListExtensionsResponse.Builder> implements ListExtensionsResponseOrBuilder

Response message for ExtensionRegistryService.ListExtensions

Protobuf type google.cloud.aiplatform.v1beta1.ListExtensionsResponse

Static Methods

getDescriptor()

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

Methods

addAllExtensions(Iterable<? extends Extension> values)

public ListExtensionsResponse.Builder addAllExtensions(Iterable<? extends Extension> values)

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.Extension>
Returns
TypeDescription
ListExtensionsResponse.Builder

addExtensions(Extension value)

public ListExtensionsResponse.Builder addExtensions(Extension value)

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Parameter
NameDescription
valueExtension
Returns
TypeDescription
ListExtensionsResponse.Builder

addExtensions(Extension.Builder builderForValue)

public ListExtensionsResponse.Builder addExtensions(Extension.Builder builderForValue)

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Parameter
NameDescription
builderForValueExtension.Builder
Returns
TypeDescription
ListExtensionsResponse.Builder

addExtensions(int index, Extension value)

public ListExtensionsResponse.Builder addExtensions(int index, Extension value)

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Parameters
NameDescription
indexint
valueExtension
Returns
TypeDescription
ListExtensionsResponse.Builder

addExtensions(int index, Extension.Builder builderForValue)

public ListExtensionsResponse.Builder addExtensions(int index, Extension.Builder builderForValue)

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Parameters
NameDescription
indexint
builderForValueExtension.Builder
Returns
TypeDescription
ListExtensionsResponse.Builder

addExtensionsBuilder()

public Extension.Builder addExtensionsBuilder()

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Returns
TypeDescription
Extension.Builder

addExtensionsBuilder(int index)

public Extension.Builder addExtensionsBuilder(int index)

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Extension.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListExtensionsResponse build()
Returns
TypeDescription
ListExtensionsResponse

buildPartial()

public ListExtensionsResponse buildPartial()
Returns
TypeDescription
ListExtensionsResponse

clear()

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

clearExtensions()

public ListExtensionsResponse.Builder clearExtensions()

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Returns
TypeDescription
ListExtensionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListExtensionsResponse.Builder clearNextPageToken()

A token to retrieve the next page of results. Pass to ListExtensionsRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
TypeDescription
ListExtensionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListExtensionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListExtensionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExtensions(int index)

public Extension getExtensions(int index)

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Extension

getExtensionsBuilder(int index)

public Extension.Builder getExtensionsBuilder(int index)

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Extension.Builder

getExtensionsBuilderList()

public List<Extension.Builder> getExtensionsBuilderList()

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Returns
TypeDescription
List<Builder>

getExtensionsCount()

public int getExtensionsCount()

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Returns
TypeDescription
int

getExtensionsList()

public List<Extension> getExtensionsList()

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Returns
TypeDescription
List<Extension>

getExtensionsOrBuilder(int index)

public ExtensionOrBuilder getExtensionsOrBuilder(int index)

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ExtensionOrBuilder

getExtensionsOrBuilderList()

public List<? extends ExtensionOrBuilder> getExtensionsOrBuilderList()

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.ExtensionOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results. Pass to ListExtensionsRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve the next page of results. Pass to ListExtensionsRequest.page_token to obtain that page.

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

public ListExtensionsResponse.Builder mergeFrom(ListExtensionsResponse other)
Parameter
NameDescription
otherListExtensionsResponse
Returns
TypeDescription
ListExtensionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeExtensions(int index)

public ListExtensionsResponse.Builder removeExtensions(int index)

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListExtensionsResponse.Builder

setExtensions(int index, Extension value)

public ListExtensionsResponse.Builder setExtensions(int index, Extension value)

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Parameters
NameDescription
indexint
valueExtension
Returns
TypeDescription
ListExtensionsResponse.Builder

setExtensions(int index, Extension.Builder builderForValue)

public ListExtensionsResponse.Builder setExtensions(int index, Extension.Builder builderForValue)

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Parameters
NameDescription
indexint
builderForValueExtension.Builder
Returns
TypeDescription
ListExtensionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListExtensionsResponse.Builder setNextPageToken(String value)

A token to retrieve the next page of results. Pass to ListExtensionsRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListExtensionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListExtensionsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve the next page of results. Pass to ListExtensionsRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListExtensionsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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