Class ListImportJobsResponse.Builder (2.54.0)

public static final class ListImportJobsResponse.Builder extends GeneratedMessageV3.Builder<ListImportJobsResponse.Builder> implements ListImportJobsResponseOrBuilder

Response message for KeyManagementService.ListImportJobs.

Protobuf type google.cloud.kms.v1.ListImportJobsResponse

Static Methods

getDescriptor()

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

Methods

addAllImportJobs(Iterable<? extends ImportJob> values)

public ListImportJobsResponse.Builder addAllImportJobs(Iterable<? extends ImportJob> values)

The list of ImportJobs.

repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.kms.v1.ImportJob>
Returns
Type Description
ListImportJobsResponse.Builder

addImportJobs(ImportJob value)

public ListImportJobsResponse.Builder addImportJobs(ImportJob value)

The list of ImportJobs.

repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;

Parameter
Name Description
value ImportJob
Returns
Type Description
ListImportJobsResponse.Builder

addImportJobs(ImportJob.Builder builderForValue)

public ListImportJobsResponse.Builder addImportJobs(ImportJob.Builder builderForValue)

The list of ImportJobs.

repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;

Parameter
Name Description
builderForValue ImportJob.Builder
Returns
Type Description
ListImportJobsResponse.Builder

addImportJobs(int index, ImportJob value)

public ListImportJobsResponse.Builder addImportJobs(int index, ImportJob value)

The list of ImportJobs.

repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;

Parameters
Name Description
index int
value ImportJob
Returns
Type Description
ListImportJobsResponse.Builder

addImportJobs(int index, ImportJob.Builder builderForValue)

public ListImportJobsResponse.Builder addImportJobs(int index, ImportJob.Builder builderForValue)

The list of ImportJobs.

repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;

Parameters
Name Description
index int
builderForValue ImportJob.Builder
Returns
Type Description
ListImportJobsResponse.Builder

addImportJobsBuilder()

public ImportJob.Builder addImportJobsBuilder()

The list of ImportJobs.

repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;

Returns
Type Description
ImportJob.Builder

addImportJobsBuilder(int index)

public ImportJob.Builder addImportJobsBuilder(int index)

The list of ImportJobs.

repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
ImportJob.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListImportJobsResponse build()
Returns
Type Description
ListImportJobsResponse

buildPartial()

public ListImportJobsResponse buildPartial()
Returns
Type Description
ListImportJobsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearImportJobs()

public ListImportJobsResponse.Builder clearImportJobs()

The list of ImportJobs.

repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;

Returns
Type Description
ListImportJobsResponse.Builder

clearNextPageToken()

public ListImportJobsResponse.Builder clearNextPageToken()

A token to retrieve next page of results. Pass this value in ListImportJobsRequest.page_token to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
ListImportJobsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTotalSize()

public ListImportJobsResponse.Builder clearTotalSize()

The total number of ImportJobs that matched the query.

int32 total_size = 3;

Returns
Type Description
ListImportJobsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListImportJobsResponse getDefaultInstanceForType()
Returns
Type Description
ListImportJobsResponse

getDescriptorForType()

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

getImportJobs(int index)

public ImportJob getImportJobs(int index)

The list of ImportJobs.

repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
ImportJob

getImportJobsBuilder(int index)

public ImportJob.Builder getImportJobsBuilder(int index)

The list of ImportJobs.

repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
ImportJob.Builder

getImportJobsBuilderList()

public List<ImportJob.Builder> getImportJobsBuilderList()

The list of ImportJobs.

repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;

Returns
Type Description
List<Builder>

getImportJobsCount()

public int getImportJobsCount()

The list of ImportJobs.

repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;

Returns
Type Description
int

getImportJobsList()

public List<ImportJob> getImportJobsList()

The list of ImportJobs.

repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;

Returns
Type Description
List<ImportJob>

getImportJobsOrBuilder(int index)

public ImportJobOrBuilder getImportJobsOrBuilder(int index)

The list of ImportJobs.

repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
ImportJobOrBuilder

getImportJobsOrBuilderList()

public List<? extends ImportJobOrBuilder> getImportJobsOrBuilderList()

The list of ImportJobs.

repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;

Returns
Type Description
List<? extends com.google.cloud.kms.v1.ImportJobOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token to retrieve next page of results. Pass this value in ListImportJobsRequest.page_token to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve next page of results. Pass this value in ListImportJobsRequest.page_token to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTotalSize()

public int getTotalSize()

The total number of ImportJobs that matched the query.

int32 total_size = 3;

Returns
Type Description
int

The totalSize.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListImportJobsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeImportJobs(int index)

public ListImportJobsResponse.Builder removeImportJobs(int index)

The list of ImportJobs.

repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListImportJobsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setImportJobs(int index, ImportJob value)

public ListImportJobsResponse.Builder setImportJobs(int index, ImportJob value)

The list of ImportJobs.

repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;

Parameters
Name Description
index int
value ImportJob
Returns
Type Description
ListImportJobsResponse.Builder

setImportJobs(int index, ImportJob.Builder builderForValue)

public ListImportJobsResponse.Builder setImportJobs(int index, ImportJob.Builder builderForValue)

The list of ImportJobs.

repeated .google.cloud.kms.v1.ImportJob import_jobs = 1;

Parameters
Name Description
index int
builderForValue ImportJob.Builder
Returns
Type Description
ListImportJobsResponse.Builder

setNextPageToken(String value)

public ListImportJobsResponse.Builder setNextPageToken(String value)

A token to retrieve next page of results. Pass this value in ListImportJobsRequest.page_token to retrieve the next page of results.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListImportJobsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListImportJobsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve next page of results. Pass this value in ListImportJobsRequest.page_token to retrieve the next page of results.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListImportJobsResponse.Builder

This builder for chaining.

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

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

setTotalSize(int value)

public ListImportJobsResponse.Builder setTotalSize(int value)

The total number of ImportJobs that matched the query.

int32 total_size = 3;

Parameter
Name Description
value int

The totalSize to set.

Returns
Type Description
ListImportJobsResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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