Class ListKmsConfigsResponse.Builder (0.9.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.netapp.v1.KmsConfig>
Returns
TypeDescription
ListKmsConfigsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListKmsConfigsResponse.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
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
NameDescription
valueKmsConfig
Returns
TypeDescription
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
NameDescription
builderForValueKmsConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueKmsConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueKmsConfig.Builder
Returns
TypeDescription
ListKmsConfigsResponse.Builder

addKmsConfigsBuilder()

public KmsConfig.Builder addKmsConfigsBuilder()

The list of KmsConfigs

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListKmsConfigsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListKmsConfigsResponse.Builder

This builder for chaining.

build()

public ListKmsConfigsResponse build()
Returns
TypeDescription
ListKmsConfigsResponse

buildPartial()

public ListKmsConfigsResponse buildPartial()
Returns
TypeDescription
ListKmsConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearKmsConfigs()

public ListKmsConfigsResponse.Builder clearKmsConfigs()

The list of KmsConfigs

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

Returns
TypeDescription
ListKmsConfigsResponse.Builder

clearNextPageToken()

public ListKmsConfigsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
ListKmsConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListKmsConfigsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListKmsConfigsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListKmsConfigsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListKmsConfigsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKmsConfigs(int index)

public KmsConfig getKmsConfigs(int index)

The list of KmsConfigs

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

Parameter
NameDescription
indexint
Returns
TypeDescription
KmsConfig

getKmsConfigsBuilder(int index)

public KmsConfig.Builder getKmsConfigsBuilder(int index)

The list of KmsConfigs

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

Parameter
NameDescription
indexint
Returns
TypeDescription
KmsConfig.Builder

getKmsConfigsBuilderList()

public List<KmsConfig.Builder> getKmsConfigsBuilderList()

The list of KmsConfigs

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

Returns
TypeDescription
List<Builder>

getKmsConfigsCount()

public int getKmsConfigsCount()

The list of KmsConfigs

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

Returns
TypeDescription
int

getKmsConfigsList()

public List<KmsConfig> getKmsConfigsList()

The list of KmsConfigs

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

Returns
TypeDescription
List<KmsConfig>

getKmsConfigsOrBuilder(int index)

public KmsConfigOrBuilder getKmsConfigsOrBuilder(int index)

The list of KmsConfigs

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

Parameter
NameDescription
indexint
Returns
TypeDescription
KmsConfigOrBuilder

getKmsConfigsOrBuilderList()

public List<? extends KmsConfigOrBuilder> getKmsConfigsOrBuilderList()

The list of KmsConfigs

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

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

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

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

public ListKmsConfigsResponse.Builder mergeFrom(ListKmsConfigsResponse other)
Parameter
NameDescription
otherListKmsConfigsResponse
Returns
TypeDescription
ListKmsConfigsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListKmsConfigsResponse.Builder

This builder for chaining.