public static final class ActionConfig.ScopeList.Builder extends GeneratedMessage.Builder<ActionConfig.ScopeList.Builder> implements ActionConfig.ScopeListOrBuilderStores a list of scopes.
Protobuf type google.cloud.discoveryengine.v1.ActionConfig.ScopeList
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ActionConfig.ScopeList.BuilderImplements
ActionConfig.ScopeListOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllScopes(Iterable<String> values)
public ActionConfig.ScopeList.Builder addAllScopes(Iterable<String> values)Optional. The list of scopes.
repeated string scopes = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The scopes to add. |
| Returns | |
|---|---|
| Type | Description |
ActionConfig.ScopeList.Builder |
This builder for chaining. |
addScopes(String value)
public ActionConfig.ScopeList.Builder addScopes(String value)Optional. The list of scopes.
repeated string scopes = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe scopes to add. |
| Returns | |
|---|---|
| Type | Description |
ActionConfig.ScopeList.Builder |
This builder for chaining. |
addScopesBytes(ByteString value)
public ActionConfig.ScopeList.Builder addScopesBytes(ByteString value)Optional. The list of scopes.
repeated string scopes = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the scopes to add. |
| Returns | |
|---|---|
| Type | Description |
ActionConfig.ScopeList.Builder |
This builder for chaining. |
build()
public ActionConfig.ScopeList build()| Returns | |
|---|---|
| Type | Description |
ActionConfig.ScopeList |
|
buildPartial()
public ActionConfig.ScopeList buildPartial()| Returns | |
|---|---|
| Type | Description |
ActionConfig.ScopeList |
|
clear()
public ActionConfig.ScopeList.Builder clear()| Returns | |
|---|---|
| Type | Description |
ActionConfig.ScopeList.Builder |
|
clearScopes()
public ActionConfig.ScopeList.Builder clearScopes()Optional. The list of scopes.
repeated string scopes = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ActionConfig.ScopeList.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ActionConfig.ScopeList getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ActionConfig.ScopeList |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getScopes(int index)
public String getScopes(int index)Optional. The list of scopes.
repeated string scopes = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The scopes at the given index. |
getScopesBytes(int index)
public ByteString getScopesBytes(int index)Optional. The list of scopes.
repeated string scopes = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the scopes at the given index. |
getScopesCount()
public int getScopesCount()Optional. The list of scopes.
repeated string scopes = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of scopes. |
getScopesList()
public ProtocolStringList getScopesList()Optional. The list of scopes.
repeated string scopes = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the scopes. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ActionConfig.ScopeList other)
public ActionConfig.ScopeList.Builder mergeFrom(ActionConfig.ScopeList other)| Parameter | |
|---|---|
| Name | Description |
other |
ActionConfig.ScopeList |
| Returns | |
|---|---|
| Type | Description |
ActionConfig.ScopeList.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ActionConfig.ScopeList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ActionConfig.ScopeList.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ActionConfig.ScopeList.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ActionConfig.ScopeList.Builder |
|
setScopes(int index, String value)
public ActionConfig.ScopeList.Builder setScopes(int index, String value)Optional. The list of scopes.
repeated string scopes = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe scopes to set. |
| Returns | |
|---|---|
| Type | Description |
ActionConfig.ScopeList.Builder |
This builder for chaining. |