Class ListKmsConfigsResponse.Builder (0.28.0)

public static final class ListKmsConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListKmsConfigsResponse.Builder> implements ListKmsConfigsResponseOrBuilder

ListKmsConfigsResponse is the response to a ListKmsConfigsRequest.

Protobuf type google.cloud.netapp.v1.ListKmsConfigsResponse

Static Methods

getDescriptor()

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

Methods

addAllKmsConfigs(Iterable<? extends KmsConfig> values)

public ListKmsConfigsResponse.Builder addAllKmsConfigs(Iterable<? extends KmsConfig> values)

The list of KmsConfigs

repeated .google.cloud.netapp.v1.KmsConfig kms_configs = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.netapp.v1.KmsConfig>
Returns
Type Description
ListKmsConfigsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListKmsConfigsResponse.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
ListKmsConfigsResponse.Builder

This builder for chaining.

addKmsConfigs(KmsConfig value)

public ListKmsConfigsResponse.Builder addKmsConfigs(KmsConfig value)

The list of KmsConfigs

repeated .google.cloud.netapp.v1.KmsConfig kms_configs = 1;

Parameter
Name Description
value KmsConfig
Returns
Type Description
ListKmsConfigsResponse.Builder

addKmsConfigs(KmsConfig.Builder builderForValue)

public ListKmsConfigsResponse.Builder addKmsConfigs(KmsConfig.Builder builderForValue)

The list of KmsConfigs

repeated .google.cloud.netapp.v1.KmsConfig kms_configs = 1;

Parameter
Name Description
builderForValue KmsConfig.Builder
Returns
Type Description
ListKmsConfigsResponse.Builder

addKmsConfigs(int index, KmsConfig value)

public ListKmsConfigsResponse.Builder addKmsConfigs(int index, KmsConfig value)

The list of KmsConfigs

repeated .google.cloud.netapp.v1.KmsConfig kms_configs = 1;

Parameters
Name Description
index int
value KmsConfig
Returns
Type Description
ListKmsConfigsResponse.Builder

addKmsConfigs(int index, KmsConfig.Builder builderForValue)

public ListKmsConfigsResponse.Builder addKmsConfigs(int index, KmsConfig.Builder builderForValue)

The list of KmsConfigs

repeated .google.cloud.netapp.v1.KmsConfig kms_configs = 1;

Parameters
Name Description
index int
builderForValue KmsConfig.Builder
Returns
Type Description
ListKmsConfigsResponse.Builder

addKmsConfigsBuilder()

public KmsConfig.Builder addKmsConfigsBuilder()

The list of KmsConfigs

repeated .google.cloud.netapp.v1.KmsConfig kms_configs = 1;

Returns
Type Description
KmsConfig.Builder

addKmsConfigsBuilder(int index)

public KmsConfig.Builder addKmsConfigsBuilder(int index)

The list of KmsConfigs

repeated .google.cloud.netapp.v1.KmsConfig kms_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
KmsConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListKmsConfigsResponse.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
ListKmsConfigsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListKmsConfigsResponse.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
ListKmsConfigsResponse.Builder

This builder for chaining.

build()

public ListKmsConfigsResponse build()
Returns
Type Description
ListKmsConfigsResponse

buildPartial()

public ListKmsConfigsResponse buildPartial()
Returns
Type Description
ListKmsConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearKmsConfigs()

public ListKmsConfigsResponse.Builder clearKmsConfigs()

The list of KmsConfigs

repeated .google.cloud.netapp.v1.KmsConfig kms_configs = 1;

Returns
Type Description
ListKmsConfigsResponse.Builder

clearNextPageToken()

public ListKmsConfigsResponse.Builder clearNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ListKmsConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListKmsConfigsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListKmsConfigsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListKmsConfigsResponse getDefaultInstanceForType()
Returns
Type Description
ListKmsConfigsResponse

getDescriptorForType()

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

getKmsConfigs(int index)

public KmsConfig getKmsConfigs(int index)

The list of KmsConfigs

repeated .google.cloud.netapp.v1.KmsConfig kms_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
KmsConfig

getKmsConfigsBuilder(int index)

public KmsConfig.Builder getKmsConfigsBuilder(int index)

The list of KmsConfigs

repeated .google.cloud.netapp.v1.KmsConfig kms_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
KmsConfig.Builder

getKmsConfigsBuilderList()

public List<KmsConfig.Builder> getKmsConfigsBuilderList()

The list of KmsConfigs

repeated .google.cloud.netapp.v1.KmsConfig kms_configs = 1;

Returns
Type Description
List<Builder>

getKmsConfigsCount()

public int getKmsConfigsCount()

The list of KmsConfigs

repeated .google.cloud.netapp.v1.KmsConfig kms_configs = 1;

Returns
Type Description
int

getKmsConfigsList()

public List<KmsConfig> getKmsConfigsList()

The list of KmsConfigs

repeated .google.cloud.netapp.v1.KmsConfig kms_configs = 1;

Returns
Type Description
List<KmsConfig>

getKmsConfigsOrBuilder(int index)

public KmsConfigOrBuilder getKmsConfigsOrBuilder(int index)

The list of KmsConfigs

repeated .google.cloud.netapp.v1.KmsConfig kms_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
KmsConfigOrBuilder

getKmsConfigsOrBuilderList()

public List<? extends KmsConfigOrBuilder> getKmsConfigsOrBuilderList()

The list of KmsConfigs

repeated .google.cloud.netapp.v1.KmsConfig kms_configs = 1;

Returns
Type Description
List<? extends com.google.cloud.netapp.v1.KmsConfigOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results the server should return.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeKmsConfigs(int index)

public ListKmsConfigsResponse.Builder removeKmsConfigs(int index)

The list of KmsConfigs

repeated .google.cloud.netapp.v1.KmsConfig kms_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListKmsConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setKmsConfigs(int index, KmsConfig value)

public ListKmsConfigsResponse.Builder setKmsConfigs(int index, KmsConfig value)

The list of KmsConfigs

repeated .google.cloud.netapp.v1.KmsConfig kms_configs = 1;

Parameters
Name Description
index int
value KmsConfig
Returns
Type Description
ListKmsConfigsResponse.Builder

setKmsConfigs(int index, KmsConfig.Builder builderForValue)

public ListKmsConfigsResponse.Builder setKmsConfigs(int index, KmsConfig.Builder builderForValue)

The list of KmsConfigs

repeated .google.cloud.netapp.v1.KmsConfig kms_configs = 1;

Parameters
Name Description
index int
builderForValue KmsConfig.Builder
Returns
Type Description
ListKmsConfigsResponse.Builder

setNextPageToken(String value)

public ListKmsConfigsResponse.Builder setNextPageToken(String value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListKmsConfigsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListKmsConfigsResponse.Builder setNextPageTokenBytes(ByteString value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListKmsConfigsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListKmsConfigsResponse.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
ListKmsConfigsResponse.Builder

This builder for chaining.