public static final class ListAuthTokensResponse.Builder extends GeneratedMessage.Builder<ListAuthTokensResponse.Builder> implements ListAuthTokensResponseOrBuilder Response message for ListAuthTokens.
Protobuf type google.cloud.memorystore.v1.ListAuthTokensResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListAuthTokensResponse.BuilderImplements
ListAuthTokensResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllAuthTokens(Iterable<? extends AuthToken> values)
public ListAuthTokensResponse.Builder addAllAuthTokens(Iterable<? extends AuthToken> values)A list of auth tokens in the project.
repeated .google.cloud.memorystore.v1.AuthToken auth_tokens = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.memorystore.v1.AuthToken> |
| Returns | |
|---|---|
| Type | Description |
ListAuthTokensResponse.Builder |
|
addAllUnreachable(Iterable<String> values)
public ListAuthTokensResponse.Builder addAllUnreachable(Iterable<String> values)Unordered list. Auth tokens that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListAuthTokensResponse.Builder |
This builder for chaining. |
addAuthTokens(AuthToken value)
public ListAuthTokensResponse.Builder addAuthTokens(AuthToken value)A list of auth tokens in the project.
repeated .google.cloud.memorystore.v1.AuthToken auth_tokens = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
AuthToken |
| Returns | |
|---|---|
| Type | Description |
ListAuthTokensResponse.Builder |
|
addAuthTokens(AuthToken.Builder builderForValue)
public ListAuthTokensResponse.Builder addAuthTokens(AuthToken.Builder builderForValue)A list of auth tokens in the project.
repeated .google.cloud.memorystore.v1.AuthToken auth_tokens = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AuthToken.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAuthTokensResponse.Builder |
|
addAuthTokens(int index, AuthToken value)
public ListAuthTokensResponse.Builder addAuthTokens(int index, AuthToken value)A list of auth tokens in the project.
repeated .google.cloud.memorystore.v1.AuthToken auth_tokens = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AuthToken |
| Returns | |
|---|---|
| Type | Description |
ListAuthTokensResponse.Builder |
|
addAuthTokens(int index, AuthToken.Builder builderForValue)
public ListAuthTokensResponse.Builder addAuthTokens(int index, AuthToken.Builder builderForValue)A list of auth tokens in the project.
repeated .google.cloud.memorystore.v1.AuthToken auth_tokens = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AuthToken.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAuthTokensResponse.Builder |
|
addAuthTokensBuilder()
public AuthToken.Builder addAuthTokensBuilder()A list of auth tokens in the project.
repeated .google.cloud.memorystore.v1.AuthToken auth_tokens = 1;
| Returns | |
|---|---|
| Type | Description |
AuthToken.Builder |
|
addAuthTokensBuilder(int index)
public AuthToken.Builder addAuthTokensBuilder(int index)A list of auth tokens in the project.
repeated .google.cloud.memorystore.v1.AuthToken auth_tokens = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AuthToken.Builder |
|
addUnreachable(String value)
public ListAuthTokensResponse.Builder addUnreachable(String value)Unordered list. Auth tokens that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListAuthTokensResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListAuthTokensResponse.Builder addUnreachableBytes(ByteString value)Unordered list. Auth tokens that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListAuthTokensResponse.Builder |
This builder for chaining. |
build()
public ListAuthTokensResponse build()| Returns | |
|---|---|
| Type | Description |
ListAuthTokensResponse |
|
buildPartial()
public ListAuthTokensResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListAuthTokensResponse |
|
clear()
public ListAuthTokensResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListAuthTokensResponse.Builder |
|
clearAuthTokens()
public ListAuthTokensResponse.Builder clearAuthTokens()A list of auth tokens in the project.
repeated .google.cloud.memorystore.v1.AuthToken auth_tokens = 1;
| Returns | |
|---|---|
| Type | Description |
ListAuthTokensResponse.Builder |
|
clearNextPageToken()
public ListAuthTokensResponse.Builder clearNextPageToken()Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListAuthTokensResponse.Builder |
This builder for chaining. |
clearUnreachable()
public ListAuthTokensResponse.Builder clearUnreachable()Unordered list. Auth tokens that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
ListAuthTokensResponse.Builder |
This builder for chaining. |
getAuthTokens(int index)
public AuthToken getAuthTokens(int index)A list of auth tokens in the project.
repeated .google.cloud.memorystore.v1.AuthToken auth_tokens = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AuthToken |
|
getAuthTokensBuilder(int index)
public AuthToken.Builder getAuthTokensBuilder(int index)A list of auth tokens in the project.
repeated .google.cloud.memorystore.v1.AuthToken auth_tokens = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AuthToken.Builder |
|
getAuthTokensBuilderList()
public List<AuthToken.Builder> getAuthTokensBuilderList()A list of auth tokens in the project.
repeated .google.cloud.memorystore.v1.AuthToken auth_tokens = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getAuthTokensCount()
public int getAuthTokensCount()A list of auth tokens in the project.
repeated .google.cloud.memorystore.v1.AuthToken auth_tokens = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getAuthTokensList()
public List<AuthToken> getAuthTokensList()A list of auth tokens in the project.
repeated .google.cloud.memorystore.v1.AuthToken auth_tokens = 1;
| Returns | |
|---|---|
| Type | Description |
List<AuthToken> |
|
getAuthTokensOrBuilder(int index)
public AuthTokenOrBuilder getAuthTokensOrBuilder(int index)A list of auth tokens in the project.
repeated .google.cloud.memorystore.v1.AuthToken auth_tokens = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AuthTokenOrBuilder |
|
getAuthTokensOrBuilderList()
public List<? extends AuthTokenOrBuilder> getAuthTokensOrBuilderList()A list of auth tokens in the project.
repeated .google.cloud.memorystore.v1.AuthToken auth_tokens = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.memorystore.v1.AuthTokenOrBuilder> |
|
getDefaultInstanceForType()
public ListAuthTokensResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListAuthTokensResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken()Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getUnreachable(int index)
public String getUnreachable(int index)Unordered list. Auth tokens that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The unreachable at the given index. |
getUnreachableBytes(int index)
public ByteString getUnreachableBytes(int index)Unordered list. Auth tokens that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the unreachable at the given index. |
getUnreachableCount()
public int getUnreachableCount()Unordered list. Auth tokens that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
int |
The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()Unordered list. Auth tokens that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListAuthTokensResponse other)
public ListAuthTokensResponse.Builder mergeFrom(ListAuthTokensResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListAuthTokensResponse |
| Returns | |
|---|---|
| Type | Description |
ListAuthTokensResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListAuthTokensResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListAuthTokensResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListAuthTokensResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListAuthTokensResponse.Builder |
|
removeAuthTokens(int index)
public ListAuthTokensResponse.Builder removeAuthTokens(int index)A list of auth tokens in the project.
repeated .google.cloud.memorystore.v1.AuthToken auth_tokens = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListAuthTokensResponse.Builder |
|
setAuthTokens(int index, AuthToken value)
public ListAuthTokensResponse.Builder setAuthTokens(int index, AuthToken value)A list of auth tokens in the project.
repeated .google.cloud.memorystore.v1.AuthToken auth_tokens = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AuthToken |
| Returns | |
|---|---|
| Type | Description |
ListAuthTokensResponse.Builder |
|
setAuthTokens(int index, AuthToken.Builder builderForValue)
public ListAuthTokensResponse.Builder setAuthTokens(int index, AuthToken.Builder builderForValue)A list of auth tokens in the project.
repeated .google.cloud.memorystore.v1.AuthToken auth_tokens = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AuthToken.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAuthTokensResponse.Builder |
|
setNextPageToken(String value)
public ListAuthTokensResponse.Builder setNextPageToken(String value)Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListAuthTokensResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListAuthTokensResponse.Builder setNextPageTokenBytes(ByteString value)Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListAuthTokensResponse.Builder |
This builder for chaining. |
setUnreachable(int index, String value)
public ListAuthTokensResponse.Builder setUnreachable(int index, String value)Unordered list. Auth tokens that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe unreachable to set. |
| Returns | |
|---|---|
| Type | Description |
ListAuthTokensResponse.Builder |
This builder for chaining. |