Class ListMetadataImportsResponse.Builder (2.42.0)

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

Response message for DataprocMetastore.ListMetadataImports.

Protobuf type google.cloud.metastore.v1alpha.ListMetadataImportsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1alpha.MetadataImport metadata_imports = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.metastore.v1alpha.MetadataImport>
Returns
TypeDescription
ListMetadataImportsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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.v1alpha.MetadataImport metadata_imports = 1;

Parameter
NameDescription
valueMetadataImport
Returns
TypeDescription
ListMetadataImportsResponse.Builder

addMetadataImports(MetadataImport.Builder builderForValue)

public ListMetadataImportsResponse.Builder addMetadataImports(MetadataImport.Builder builderForValue)

The imports in the specified service.

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

Parameter
NameDescription
builderForValueMetadataImport.Builder
Returns
TypeDescription
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.v1alpha.MetadataImport metadata_imports = 1;

Parameters
NameDescription
indexint
valueMetadataImport
Returns
TypeDescription
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.v1alpha.MetadataImport metadata_imports = 1;

Parameters
NameDescription
indexint
builderForValueMetadataImport.Builder
Returns
TypeDescription
ListMetadataImportsResponse.Builder

addMetadataImportsBuilder()

public MetadataImport.Builder addMetadataImportsBuilder()

The imports in the specified service.

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

Returns
TypeDescription
MetadataImport.Builder

addMetadataImportsBuilder(int index)

public MetadataImport.Builder addMetadataImportsBuilder(int index)

The imports in the specified service.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MetadataImport.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListMetadataImportsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListMetadataImportsResponse.Builder

This builder for chaining.

build()

public ListMetadataImportsResponse build()
Returns
TypeDescription
ListMetadataImportsResponse

buildPartial()

public ListMetadataImportsResponse buildPartial()
Returns
TypeDescription
ListMetadataImportsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMetadataImports()

public ListMetadataImportsResponse.Builder clearMetadataImports()

The imports in the specified service.

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

Returns
TypeDescription
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
TypeDescription
ListMetadataImportsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListMetadataImportsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListMetadataImportsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListMetadataImportsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListMetadataImportsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMetadataImports(int index)

public MetadataImport getMetadataImports(int index)

The imports in the specified service.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MetadataImport

getMetadataImportsBuilder(int index)

public MetadataImport.Builder getMetadataImportsBuilder(int index)

The imports in the specified service.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MetadataImport.Builder

getMetadataImportsBuilderList()

public List<MetadataImport.Builder> getMetadataImportsBuilderList()

The imports in the specified service.

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

Returns
TypeDescription
List<Builder>

getMetadataImportsCount()

public int getMetadataImportsCount()

The imports in the specified service.

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

Returns
TypeDescription
int

getMetadataImportsList()

public List<MetadataImport> getMetadataImportsList()

The imports in the specified service.

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

Returns
TypeDescription
List<MetadataImport>

getMetadataImportsOrBuilder(int index)

public MetadataImportOrBuilder getMetadataImportsOrBuilder(int index)

The imports in the specified service.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MetadataImportOrBuilder

getMetadataImportsOrBuilderList()

public List<? extends MetadataImportOrBuilder> getMetadataImportsOrBuilderList()

The imports in the specified service.

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

Returns
TypeDescription
List<? extends com.google.cloud.metastore.v1alpha.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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListMetadataImportsResponse other)

public ListMetadataImportsResponse.Builder mergeFrom(ListMetadataImportsResponse other)
Parameter
NameDescription
otherListMetadataImportsResponse
Returns
TypeDescription
ListMetadataImportsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeMetadataImports(int index)

public ListMetadataImportsResponse.Builder removeMetadataImports(int index)

The imports in the specified service.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListMetadataImportsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListMetadataImportsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1alpha.MetadataImport metadata_imports = 1;

Parameters
NameDescription
indexint
valueMetadataImport
Returns
TypeDescription
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.v1alpha.MetadataImport metadata_imports = 1;

Parameters
NameDescription
indexint
builderForValueMetadataImport.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ListMetadataImportsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListMetadataImportsResponse.Builder

This builder for chaining.