Class ListImportJobsResponse.Builder (2.16.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.kms.v1.ImportJob>
Returns
TypeDescription
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
NameDescription
valueImportJob
Returns
TypeDescription
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
NameDescription
builderForValueImportJob.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueImportJob
Returns
TypeDescription
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
NameDescription
indexint
builderForValueImportJob.Builder
Returns
TypeDescription
ListImportJobsResponse.Builder

addImportJobsBuilder()

public ImportJob.Builder addImportJobsBuilder()

The list of ImportJobs.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListImportJobsResponse build()
Returns
TypeDescription
ListImportJobsResponse

buildPartial()

public ListImportJobsResponse buildPartial()
Returns
TypeDescription
ListImportJobsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearImportJobs()

public ListImportJobsResponse.Builder clearImportJobs()

The list of ImportJobs.

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

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTotalSize()

public ListImportJobsResponse.Builder clearTotalSize()

The total number of ImportJobs that matched the query.

int32 total_size = 3;

Returns
TypeDescription
ListImportJobsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListImportJobsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListImportJobsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getImportJobs(int index)

public ImportJob getImportJobs(int index)

The list of ImportJobs.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ImportJob

getImportJobsBuilder(int index)

public ImportJob.Builder getImportJobsBuilder(int index)

The list of ImportJobs.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ImportJob.Builder

getImportJobsBuilderList()

public List<ImportJob.Builder> getImportJobsBuilderList()

The list of ImportJobs.

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

Returns
TypeDescription
List<Builder>

getImportJobsCount()

public int getImportJobsCount()

The list of ImportJobs.

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

Returns
TypeDescription
int

getImportJobsList()

public List<ImportJob> getImportJobsList()

The list of ImportJobs.

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

Returns
TypeDescription
List<ImportJob>

getImportJobsOrBuilder(int index)

public ImportJobOrBuilder getImportJobsOrBuilder(int index)

The list of ImportJobs.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ImportJobOrBuilder

getImportJobsOrBuilderList()

public List<? extends ImportJobOrBuilder> getImportJobsOrBuilderList()

The list of ImportJobs.

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

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

The bytes for nextPageToken.

getTotalSize()

public int getTotalSize()

The total number of ImportJobs that matched the query.

int32 total_size = 3;

Returns
TypeDescription
int

The totalSize.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListImportJobsResponse other)

public ListImportJobsResponse.Builder mergeFrom(ListImportJobsResponse other)
Parameter
NameDescription
otherListImportJobsResponse
Returns
TypeDescription
ListImportJobsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

The totalSize to set.

Returns
TypeDescription
ListImportJobsResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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