Class ListMetadataImportsResponse.Builder (2.56.0)

public static final class ListMetadataImportsResponse.Builder extends GeneratedMessageV3.Builder<ListMetadataImportsResponse.Builder> implements ListMetadataImportsResponseOrBuilder

Response message for DataprocMetastore.ListMetadataImports.

Protobuf type google.cloud.metastore.v1beta.ListMetadataImportsResponse

Static Methods

getDescriptor()

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

Methods

addAllMetadataImports(Iterable<? extends MetadataImport> values)

public ListMetadataImportsResponse.Builder addAllMetadataImports(Iterable<? extends MetadataImport> values)

The imports in the specified service.

repeated .google.cloud.metastore.v1beta.MetadataImport metadata_imports = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.metastore.v1beta.MetadataImport>
Returns
Type Description
ListMetadataImportsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListMetadataImportsResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListMetadataImportsResponse.Builder

This builder for chaining.

addMetadataImports(MetadataImport value)

public ListMetadataImportsResponse.Builder addMetadataImports(MetadataImport value)

The imports in the specified service.

repeated .google.cloud.metastore.v1beta.MetadataImport metadata_imports = 1;

Parameter
Name Description
value MetadataImport
Returns
Type Description
ListMetadataImportsResponse.Builder

addMetadataImports(MetadataImport.Builder builderForValue)

public ListMetadataImportsResponse.Builder addMetadataImports(MetadataImport.Builder builderForValue)

The imports in the specified service.

repeated .google.cloud.metastore.v1beta.MetadataImport metadata_imports = 1;

Parameter
Name Description
builderForValue MetadataImport.Builder
Returns
Type Description
ListMetadataImportsResponse.Builder

addMetadataImports(int index, MetadataImport value)

public ListMetadataImportsResponse.Builder addMetadataImports(int index, MetadataImport value)

The imports in the specified service.

repeated .google.cloud.metastore.v1beta.MetadataImport metadata_imports = 1;

Parameters
Name Description
index int
value MetadataImport
Returns
Type Description
ListMetadataImportsResponse.Builder

addMetadataImports(int index, MetadataImport.Builder builderForValue)

public ListMetadataImportsResponse.Builder addMetadataImports(int index, MetadataImport.Builder builderForValue)

The imports in the specified service.

repeated .google.cloud.metastore.v1beta.MetadataImport metadata_imports = 1;

Parameters
Name Description
index int
builderForValue MetadataImport.Builder
Returns
Type Description
ListMetadataImportsResponse.Builder

addMetadataImportsBuilder()

public MetadataImport.Builder addMetadataImportsBuilder()

The imports in the specified service.

repeated .google.cloud.metastore.v1beta.MetadataImport metadata_imports = 1;

Returns
Type Description
MetadataImport.Builder

addMetadataImportsBuilder(int index)

public MetadataImport.Builder addMetadataImportsBuilder(int index)

The imports in the specified service.

repeated .google.cloud.metastore.v1beta.MetadataImport metadata_imports = 1;

Parameter
Name Description
index int
Returns
Type Description
MetadataImport.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListMetadataImportsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListMetadataImportsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListMetadataImportsResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListMetadataImportsResponse.Builder

This builder for chaining.

build()

public ListMetadataImportsResponse build()
Returns
Type Description
ListMetadataImportsResponse

buildPartial()

public ListMetadataImportsResponse buildPartial()
Returns
Type Description
ListMetadataImportsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMetadataImports()

public ListMetadataImportsResponse.Builder clearMetadataImports()

The imports in the specified service.

repeated .google.cloud.metastore.v1beta.MetadataImport metadata_imports = 1;

Returns
Type Description
ListMetadataImportsResponse.Builder

clearNextPageToken()

public ListMetadataImportsResponse.Builder clearNextPageToken()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListMetadataImportsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListMetadataImportsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListMetadataImportsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListMetadataImportsResponse getDefaultInstanceForType()
Returns
Type Description
ListMetadataImportsResponse

getDescriptorForType()

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

getMetadataImports(int index)

public MetadataImport getMetadataImports(int index)

The imports in the specified service.

repeated .google.cloud.metastore.v1beta.MetadataImport metadata_imports = 1;

Parameter
Name Description
index int
Returns
Type Description
MetadataImport

getMetadataImportsBuilder(int index)

public MetadataImport.Builder getMetadataImportsBuilder(int index)

The imports in the specified service.

repeated .google.cloud.metastore.v1beta.MetadataImport metadata_imports = 1;

Parameter
Name Description
index int
Returns
Type Description
MetadataImport.Builder

getMetadataImportsBuilderList()

public List<MetadataImport.Builder> getMetadataImportsBuilderList()

The imports in the specified service.

repeated .google.cloud.metastore.v1beta.MetadataImport metadata_imports = 1;

Returns
Type Description
List<Builder>

getMetadataImportsCount()

public int getMetadataImportsCount()

The imports in the specified service.

repeated .google.cloud.metastore.v1beta.MetadataImport metadata_imports = 1;

Returns
Type Description
int

getMetadataImportsList()

public List<MetadataImport> getMetadataImportsList()

The imports in the specified service.

repeated .google.cloud.metastore.v1beta.MetadataImport metadata_imports = 1;

Returns
Type Description
List<MetadataImport>

getMetadataImportsOrBuilder(int index)

public MetadataImportOrBuilder getMetadataImportsOrBuilder(int index)

The imports in the specified service.

repeated .google.cloud.metastore.v1beta.MetadataImport metadata_imports = 1;

Parameter
Name Description
index int
Returns
Type Description
MetadataImportOrBuilder

getMetadataImportsOrBuilderList()

public List<? extends MetadataImportOrBuilder> getMetadataImportsOrBuilderList()

The imports in the specified service.

repeated .google.cloud.metastore.v1beta.MetadataImport metadata_imports = 1;

Returns
Type Description
List<? extends com.google.cloud.metastore.v1beta.MetadataImportOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListMetadataImportsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeMetadataImports(int index)

public ListMetadataImportsResponse.Builder removeMetadataImports(int index)

The imports in the specified service.

repeated .google.cloud.metastore.v1beta.MetadataImport metadata_imports = 1;

Parameter
Name Description
index int
Returns
Type Description
ListMetadataImportsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMetadataImports(int index, MetadataImport value)

public ListMetadataImportsResponse.Builder setMetadataImports(int index, MetadataImport value)

The imports in the specified service.

repeated .google.cloud.metastore.v1beta.MetadataImport metadata_imports = 1;

Parameters
Name Description
index int
value MetadataImport
Returns
Type Description
ListMetadataImportsResponse.Builder

setMetadataImports(int index, MetadataImport.Builder builderForValue)

public ListMetadataImportsResponse.Builder setMetadataImports(int index, MetadataImport.Builder builderForValue)

The imports in the specified service.

repeated .google.cloud.metastore.v1beta.MetadataImport metadata_imports = 1;

Parameters
Name Description
index int
builderForValue MetadataImport.Builder
Returns
Type Description
ListMetadataImportsResponse.Builder

setNextPageToken(String value)

public ListMetadataImportsResponse.Builder setNextPageToken(String value)

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListMetadataImportsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListMetadataImportsResponse.Builder setNextPageTokenBytes(ByteString value)

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListMetadataImportsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListMetadataImportsResponse.Builder setUnreachable(int index, String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListMetadataImportsResponse.Builder

This builder for chaining.