Class ListActiveDirectoriesResponse.Builder (0.15.0)

public static final class ListActiveDirectoriesResponse.Builder extends GeneratedMessageV3.Builder<ListActiveDirectoriesResponse.Builder> implements ListActiveDirectoriesResponseOrBuilder

ListActiveDirectoriesResponse contains all the active directories requested.

Protobuf type google.cloud.netapp.v1.ListActiveDirectoriesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addActiveDirectories(ActiveDirectory value)

public ListActiveDirectoriesResponse.Builder addActiveDirectories(ActiveDirectory value)

The list of active directories.

repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;

Parameter
NameDescription
valueActiveDirectory
Returns
TypeDescription
ListActiveDirectoriesResponse.Builder

addActiveDirectories(ActiveDirectory.Builder builderForValue)

public ListActiveDirectoriesResponse.Builder addActiveDirectories(ActiveDirectory.Builder builderForValue)

The list of active directories.

repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;

Parameter
NameDescription
builderForValueActiveDirectory.Builder
Returns
TypeDescription
ListActiveDirectoriesResponse.Builder

addActiveDirectories(int index, ActiveDirectory value)

public ListActiveDirectoriesResponse.Builder addActiveDirectories(int index, ActiveDirectory value)

The list of active directories.

repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;

Parameters
NameDescription
indexint
valueActiveDirectory
Returns
TypeDescription
ListActiveDirectoriesResponse.Builder

addActiveDirectories(int index, ActiveDirectory.Builder builderForValue)

public ListActiveDirectoriesResponse.Builder addActiveDirectories(int index, ActiveDirectory.Builder builderForValue)

The list of active directories.

repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;

Parameters
NameDescription
indexint
builderForValueActiveDirectory.Builder
Returns
TypeDescription
ListActiveDirectoriesResponse.Builder

addActiveDirectoriesBuilder()

public ActiveDirectory.Builder addActiveDirectoriesBuilder()

The list of active directories.

repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;

Returns
TypeDescription
ActiveDirectory.Builder

addActiveDirectoriesBuilder(int index)

public ActiveDirectory.Builder addActiveDirectoriesBuilder(int index)

The list of active directories.

repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ActiveDirectory.Builder

addAllActiveDirectories(Iterable<? extends ActiveDirectory> values)

public ListActiveDirectoriesResponse.Builder addAllActiveDirectories(Iterable<? extends ActiveDirectory> values)

The list of active directories.

repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.netapp.v1.ActiveDirectory>
Returns
TypeDescription
ListActiveDirectoriesResponse.Builder

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListActiveDirectoriesResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListActiveDirectoriesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListActiveDirectoriesResponse build()
Returns
TypeDescription
ListActiveDirectoriesResponse

buildPartial()

public ListActiveDirectoriesResponse buildPartial()
Returns
TypeDescription
ListActiveDirectoriesResponse

clear()

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

clearActiveDirectories()

public ListActiveDirectoriesResponse.Builder clearActiveDirectories()

The list of active directories.

repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;

Returns
TypeDescription
ListActiveDirectoriesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListActiveDirectoriesResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
ListActiveDirectoriesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListActiveDirectoriesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListActiveDirectoriesResponse.Builder

This builder for chaining.

clone()

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

getActiveDirectories(int index)

public ActiveDirectory getActiveDirectories(int index)

The list of active directories.

repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ActiveDirectory

getActiveDirectoriesBuilder(int index)

public ActiveDirectory.Builder getActiveDirectoriesBuilder(int index)

The list of active directories.

repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ActiveDirectory.Builder

getActiveDirectoriesBuilderList()

public List<ActiveDirectory.Builder> getActiveDirectoriesBuilderList()

The list of active directories.

repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;

Returns
TypeDescription
List<Builder>

getActiveDirectoriesCount()

public int getActiveDirectoriesCount()

The list of active directories.

repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;

Returns
TypeDescription
int

getActiveDirectoriesList()

public List<ActiveDirectory> getActiveDirectoriesList()

The list of active directories.

repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;

Returns
TypeDescription
List<ActiveDirectory>

getActiveDirectoriesOrBuilder(int index)

public ActiveDirectoryOrBuilder getActiveDirectoriesOrBuilder(int index)

The list of active directories.

repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ActiveDirectoryOrBuilder

getActiveDirectoriesOrBuilderList()

public List<? extends ActiveDirectoryOrBuilder> getActiveDirectoriesOrBuilderList()

The list of active directories.

repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;

Returns
TypeDescription
List<? extends com.google.cloud.netapp.v1.ActiveDirectoryOrBuilder>

getDefaultInstanceForType()

public ListActiveDirectoriesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListActiveDirectoriesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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

public ListActiveDirectoriesResponse.Builder mergeFrom(ListActiveDirectoriesResponse other)
Parameter
NameDescription
otherListActiveDirectoriesResponse
Returns
TypeDescription
ListActiveDirectoriesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeActiveDirectories(int index)

public ListActiveDirectoriesResponse.Builder removeActiveDirectories(int index)

The list of active directories.

repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListActiveDirectoriesResponse.Builder

setActiveDirectories(int index, ActiveDirectory value)

public ListActiveDirectoriesResponse.Builder setActiveDirectories(int index, ActiveDirectory value)

The list of active directories.

repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;

Parameters
NameDescription
indexint
valueActiveDirectory
Returns
TypeDescription
ListActiveDirectoriesResponse.Builder

setActiveDirectories(int index, ActiveDirectory.Builder builderForValue)

public ListActiveDirectoriesResponse.Builder setActiveDirectories(int index, ActiveDirectory.Builder builderForValue)

The list of active directories.

repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;

Parameters
NameDescription
indexint
builderForValueActiveDirectory.Builder
Returns
TypeDescription
ListActiveDirectoriesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

public ListActiveDirectoriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListActiveDirectoriesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.