public static final class ListScopesResponse.Builder extends GeneratedMessage.Builder<ListScopesResponse.Builder> implements ListScopesResponseOrBuilderList of Scopes.
Protobuf type google.cloud.gkehub.v1.ListScopesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListScopesResponse.BuilderImplements
ListScopesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllScopes(Iterable<? extends Scope> values)
public ListScopesResponse.Builder addAllScopes(Iterable<? extends Scope> values)The list of Scopes
repeated .google.cloud.gkehub.v1.Scope scopes = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.gkehub.v1.Scope> |
| Returns | |
|---|---|
| Type | Description |
ListScopesResponse.Builder |
|
addScopes(Scope value)
public ListScopesResponse.Builder addScopes(Scope value)The list of Scopes
repeated .google.cloud.gkehub.v1.Scope scopes = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Scope |
| Returns | |
|---|---|
| Type | Description |
ListScopesResponse.Builder |
|
addScopes(Scope.Builder builderForValue)
public ListScopesResponse.Builder addScopes(Scope.Builder builderForValue)The list of Scopes
repeated .google.cloud.gkehub.v1.Scope scopes = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Scope.Builder |
| Returns | |
|---|---|
| Type | Description |
ListScopesResponse.Builder |
|
addScopes(int index, Scope value)
public ListScopesResponse.Builder addScopes(int index, Scope value)The list of Scopes
repeated .google.cloud.gkehub.v1.Scope scopes = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Scope |
| Returns | |
|---|---|
| Type | Description |
ListScopesResponse.Builder |
|
addScopes(int index, Scope.Builder builderForValue)
public ListScopesResponse.Builder addScopes(int index, Scope.Builder builderForValue)The list of Scopes
repeated .google.cloud.gkehub.v1.Scope scopes = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Scope.Builder |
| Returns | |
|---|---|
| Type | Description |
ListScopesResponse.Builder |
|
addScopesBuilder()
public Scope.Builder addScopesBuilder()The list of Scopes
repeated .google.cloud.gkehub.v1.Scope scopes = 1;
| Returns | |
|---|---|
| Type | Description |
Scope.Builder |
|
addScopesBuilder(int index)
public Scope.Builder addScopesBuilder(int index)The list of Scopes
repeated .google.cloud.gkehub.v1.Scope scopes = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Scope.Builder |
|
build()
public ListScopesResponse build()| Returns | |
|---|---|
| Type | Description |
ListScopesResponse |
|
buildPartial()
public ListScopesResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListScopesResponse |
|
clear()
public ListScopesResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListScopesResponse.Builder |
|
clearNextPageToken()
public ListScopesResponse.Builder clearNextPageToken() A token to request the next page of resources from the
ListScopes method. The value of an empty string means
that there are no more resources to return.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListScopesResponse.Builder |
This builder for chaining. |
clearScopes()
public ListScopesResponse.Builder clearScopes()The list of Scopes
repeated .google.cloud.gkehub.v1.Scope scopes = 1;
| Returns | |
|---|---|
| Type | Description |
ListScopesResponse.Builder |
|
getDefaultInstanceForType()
public ListScopesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListScopesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken() A token to request the next page of resources from the
ListScopes method. The value of an empty string means
that there are no more resources to return.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes() A token to request the next page of resources from the
ListScopes method. The value of an empty string means
that there are no more resources to return.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getScopes(int index)
public Scope getScopes(int index)The list of Scopes
repeated .google.cloud.gkehub.v1.Scope scopes = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Scope |
|
getScopesBuilder(int index)
public Scope.Builder getScopesBuilder(int index)The list of Scopes
repeated .google.cloud.gkehub.v1.Scope scopes = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Scope.Builder |
|
getScopesBuilderList()
public List<Scope.Builder> getScopesBuilderList()The list of Scopes
repeated .google.cloud.gkehub.v1.Scope scopes = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getScopesCount()
public int getScopesCount()The list of Scopes
repeated .google.cloud.gkehub.v1.Scope scopes = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getScopesList()
public List<Scope> getScopesList()The list of Scopes
repeated .google.cloud.gkehub.v1.Scope scopes = 1;
| Returns | |
|---|---|
| Type | Description |
List<Scope> |
|
getScopesOrBuilder(int index)
public ScopeOrBuilder getScopesOrBuilder(int index)The list of Scopes
repeated .google.cloud.gkehub.v1.Scope scopes = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ScopeOrBuilder |
|
getScopesOrBuilderList()
public List<? extends ScopeOrBuilder> getScopesOrBuilderList()The list of Scopes
repeated .google.cloud.gkehub.v1.Scope scopes = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.gkehub.v1.ScopeOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListScopesResponse other)
public ListScopesResponse.Builder mergeFrom(ListScopesResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListScopesResponse |
| Returns | |
|---|---|
| Type | Description |
ListScopesResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListScopesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListScopesResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListScopesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListScopesResponse.Builder |
|
removeScopes(int index)
public ListScopesResponse.Builder removeScopes(int index)The list of Scopes
repeated .google.cloud.gkehub.v1.Scope scopes = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListScopesResponse.Builder |
|
setNextPageToken(String value)
public ListScopesResponse.Builder setNextPageToken(String value) A token to request the next page of resources from the
ListScopes method. The value of an empty string means
that there are no more resources to return.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListScopesResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListScopesResponse.Builder setNextPageTokenBytes(ByteString value) A token to request the next page of resources from the
ListScopes method. The value of an empty string means
that there are no more resources to return.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListScopesResponse.Builder |
This builder for chaining. |
setScopes(int index, Scope value)
public ListScopesResponse.Builder setScopes(int index, Scope value)The list of Scopes
repeated .google.cloud.gkehub.v1.Scope scopes = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Scope |
| Returns | |
|---|---|
| Type | Description |
ListScopesResponse.Builder |
|
setScopes(int index, Scope.Builder builderForValue)
public ListScopesResponse.Builder setScopes(int index, Scope.Builder builderForValue)The list of Scopes
repeated .google.cloud.gkehub.v1.Scope scopes = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Scope.Builder |
| Returns | |
|---|---|
| Type | Description |
ListScopesResponse.Builder |
|