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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListActiveDirectoriesResponse.BuilderImplements
ListActiveDirectoriesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ActiveDirectory |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | ActiveDirectory.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
value | ActiveDirectory |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
builderForValue | ActiveDirectory.Builder |
Returns | |
---|---|
Type | Description |
ListActiveDirectoriesResponse.Builder |
addActiveDirectoriesBuilder()
public ActiveDirectory.Builder addActiveDirectoriesBuilder()
The list of active directories.
repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.netapp.v1.ActiveDirectory> |
Returns | |
---|---|
Type | Description |
ListActiveDirectoriesResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListActiveDirectoriesResponse.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 |
ListActiveDirectoriesResponse.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListActiveDirectoriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListActiveDirectoriesResponse.Builder |
addUnreachable(String value)
public ListActiveDirectoriesResponse.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 |
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 | |
---|---|
Name | Description |
value | ByteString The bytes of the unreachable to add. |
Returns | |
---|---|
Type | Description |
ListActiveDirectoriesResponse.Builder | This builder for chaining. |
build()
public ListActiveDirectoriesResponse build()
Returns | |
---|---|
Type | Description |
ListActiveDirectoriesResponse |
buildPartial()
public ListActiveDirectoriesResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListActiveDirectoriesResponse |
clear()
public ListActiveDirectoriesResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListActiveDirectoriesResponse.Builder |
clearActiveDirectories()
public ListActiveDirectoriesResponse.Builder clearActiveDirectories()
The list of active directories.
repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;
Returns | |
---|---|
Type | Description |
ListActiveDirectoriesResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListActiveDirectoriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListActiveDirectoriesResponse.Builder |
clearNextPageToken()
public ListActiveDirectoriesResponse.Builder clearNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ListActiveDirectoriesResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListActiveDirectoriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListActiveDirectoriesResponse.Builder |
clearUnreachable()
public ListActiveDirectoriesResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ListActiveDirectoriesResponse.Builder | This builder for chaining. |
clone()
public ListActiveDirectoriesResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListActiveDirectoriesResponse.Builder |
getActiveDirectories(int index)
public ActiveDirectory getActiveDirectories(int index)
The list of active directories.
repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ActiveDirectory.Builder |
getActiveDirectoriesBuilderList()
public List<ActiveDirectory.Builder> getActiveDirectoriesBuilderList()
The list of active directories.
repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getActiveDirectoriesCount()
public int getActiveDirectoriesCount()
The list of active directories.
repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;
Returns | |
---|---|
Type | Description |
int |
getActiveDirectoriesList()
public List<ActiveDirectory> getActiveDirectoriesList()
The list of active directories.
repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ActiveDirectoryOrBuilder |
getActiveDirectoriesOrBuilderList()
public List<? extends ActiveDirectoryOrBuilder> getActiveDirectoriesOrBuilderList()
The list of active directories.
repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.netapp.v1.ActiveDirectoryOrBuilder> |
getDefaultInstanceForType()
public ListActiveDirectoriesResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListActiveDirectoriesResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListActiveDirectoriesResponse other)
public ListActiveDirectoriesResponse.Builder mergeFrom(ListActiveDirectoriesResponse other)
Parameter | |
---|---|
Name | Description |
other | ListActiveDirectoriesResponse |
Returns | |
---|---|
Type | Description |
ListActiveDirectoriesResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListActiveDirectoriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListActiveDirectoriesResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListActiveDirectoriesResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ListActiveDirectoriesResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListActiveDirectoriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListActiveDirectoriesResponse.Builder |
removeActiveDirectories(int index)
public ListActiveDirectoriesResponse.Builder removeActiveDirectories(int index)
The list of active directories.
repeated .google.cloud.netapp.v1.ActiveDirectory active_directories = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
value | ActiveDirectory |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
builderForValue | ActiveDirectory.Builder |
Returns | |
---|---|
Type | Description |
ListActiveDirectoriesResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListActiveDirectoriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListActiveDirectoriesResponse.Builder |
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 | |
---|---|
Name | Description |
value | String The nextPageToken to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for nextPageToken to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ListActiveDirectoriesResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListActiveDirectoriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListActiveDirectoriesResponse.Builder |
setUnreachable(int index, String value)
public ListActiveDirectoriesResponse.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 |
ListActiveDirectoriesResponse.Builder | This builder for chaining. |