public static final class SystemParameterRule.Builder extends GeneratedMessageV3.Builder<SystemParameterRule.Builder> implements SystemParameterRuleOrBuilder
Define a system parameter rule mapping system parameter definitions to
methods.
Protobuf type google.api.SystemParameterRule
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllParameters(Iterable<? extends SystemParameter> values)
public SystemParameterRule.Builder addAllParameters(Iterable<? extends SystemParameter> values)
Define parameters. Multiple names may be defined for a parameter.
For a given method call, only one of them should be used. If multiple
names are used the behavior is implementation-dependent.
If none of the specified names are present the behavior is
parameter-dependent.
repeated .google.api.SystemParameter parameters = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.api.SystemParameter>
|
Returns
addParameters(SystemParameter value)
public SystemParameterRule.Builder addParameters(SystemParameter value)
Define parameters. Multiple names may be defined for a parameter.
For a given method call, only one of them should be used. If multiple
names are used the behavior is implementation-dependent.
If none of the specified names are present the behavior is
parameter-dependent.
repeated .google.api.SystemParameter parameters = 2;
Parameter
Returns
addParameters(SystemParameter.Builder builderForValue)
public SystemParameterRule.Builder addParameters(SystemParameter.Builder builderForValue)
Define parameters. Multiple names may be defined for a parameter.
For a given method call, only one of them should be used. If multiple
names are used the behavior is implementation-dependent.
If none of the specified names are present the behavior is
parameter-dependent.
repeated .google.api.SystemParameter parameters = 2;
Parameter
Returns
addParameters(int index, SystemParameter value)
public SystemParameterRule.Builder addParameters(int index, SystemParameter value)
Define parameters. Multiple names may be defined for a parameter.
For a given method call, only one of them should be used. If multiple
names are used the behavior is implementation-dependent.
If none of the specified names are present the behavior is
parameter-dependent.
repeated .google.api.SystemParameter parameters = 2;
Parameters
Returns
addParameters(int index, SystemParameter.Builder builderForValue)
public SystemParameterRule.Builder addParameters(int index, SystemParameter.Builder builderForValue)
Define parameters. Multiple names may be defined for a parameter.
For a given method call, only one of them should be used. If multiple
names are used the behavior is implementation-dependent.
If none of the specified names are present the behavior is
parameter-dependent.
repeated .google.api.SystemParameter parameters = 2;
Parameters
Returns
addParametersBuilder()
public SystemParameter.Builder addParametersBuilder()
Define parameters. Multiple names may be defined for a parameter.
For a given method call, only one of them should be used. If multiple
names are used the behavior is implementation-dependent.
If none of the specified names are present the behavior is
parameter-dependent.
repeated .google.api.SystemParameter parameters = 2;
Returns
addParametersBuilder(int index)
public SystemParameter.Builder addParametersBuilder(int index)
Define parameters. Multiple names may be defined for a parameter.
For a given method call, only one of them should be used. If multiple
names are used the behavior is implementation-dependent.
If none of the specified names are present the behavior is
parameter-dependent.
repeated .google.api.SystemParameter parameters = 2;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SystemParameterRule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SystemParameterRule build()
Returns
buildPartial()
public SystemParameterRule buildPartial()
Returns
clear()
public SystemParameterRule.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SystemParameterRule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SystemParameterRule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParameters()
public SystemParameterRule.Builder clearParameters()
Define parameters. Multiple names may be defined for a parameter.
For a given method call, only one of them should be used. If multiple
names are used the behavior is implementation-dependent.
If none of the specified names are present the behavior is
parameter-dependent.
repeated .google.api.SystemParameter parameters = 2;
Returns
clearSelector()
public SystemParameterRule.Builder clearSelector()
Selects the methods to which this rule applies. Use '*' to indicate all
methods in all APIs.
Refer to selector for syntax details.
string selector = 1;
Returns
clone()
public SystemParameterRule.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SystemParameterRule getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getParameters(int index)
public SystemParameter getParameters(int index)
Define parameters. Multiple names may be defined for a parameter.
For a given method call, only one of them should be used. If multiple
names are used the behavior is implementation-dependent.
If none of the specified names are present the behavior is
parameter-dependent.
repeated .google.api.SystemParameter parameters = 2;
Parameter
Returns
getParametersBuilder(int index)
public SystemParameter.Builder getParametersBuilder(int index)
Define parameters. Multiple names may be defined for a parameter.
For a given method call, only one of them should be used. If multiple
names are used the behavior is implementation-dependent.
If none of the specified names are present the behavior is
parameter-dependent.
repeated .google.api.SystemParameter parameters = 2;
Parameter
Returns
getParametersBuilderList()
public List<SystemParameter.Builder> getParametersBuilderList()
Define parameters. Multiple names may be defined for a parameter.
For a given method call, only one of them should be used. If multiple
names are used the behavior is implementation-dependent.
If none of the specified names are present the behavior is
parameter-dependent.
repeated .google.api.SystemParameter parameters = 2;
Returns
getParametersCount()
public int getParametersCount()
Define parameters. Multiple names may be defined for a parameter.
For a given method call, only one of them should be used. If multiple
names are used the behavior is implementation-dependent.
If none of the specified names are present the behavior is
parameter-dependent.
repeated .google.api.SystemParameter parameters = 2;
Returns
getParametersList()
public List<SystemParameter> getParametersList()
Define parameters. Multiple names may be defined for a parameter.
For a given method call, only one of them should be used. If multiple
names are used the behavior is implementation-dependent.
If none of the specified names are present the behavior is
parameter-dependent.
repeated .google.api.SystemParameter parameters = 2;
Returns
getParametersOrBuilder(int index)
public SystemParameterOrBuilder getParametersOrBuilder(int index)
Define parameters. Multiple names may be defined for a parameter.
For a given method call, only one of them should be used. If multiple
names are used the behavior is implementation-dependent.
If none of the specified names are present the behavior is
parameter-dependent.
repeated .google.api.SystemParameter parameters = 2;
Parameter
Returns
getParametersOrBuilderList()
public List<? extends SystemParameterOrBuilder> getParametersOrBuilderList()
Define parameters. Multiple names may be defined for a parameter.
For a given method call, only one of them should be used. If multiple
names are used the behavior is implementation-dependent.
If none of the specified names are present the behavior is
parameter-dependent.
repeated .google.api.SystemParameter parameters = 2;
Returns
Type | Description |
List<? extends com.google.api.SystemParameterOrBuilder> | |
getSelector()
public String getSelector()
Selects the methods to which this rule applies. Use '*' to indicate all
methods in all APIs.
Refer to selector for syntax details.
string selector = 1;
Returns
Type | Description |
String | The selector.
|
getSelectorBytes()
public ByteString getSelectorBytes()
Selects the methods to which this rule applies. Use '*' to indicate all
methods in all APIs.
Refer to selector for syntax details.
string selector = 1;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SystemParameterRule other)
public SystemParameterRule.Builder mergeFrom(SystemParameterRule other)
Parameter
Returns
public SystemParameterRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SystemParameterRule.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SystemParameterRule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeParameters(int index)
public SystemParameterRule.Builder removeParameters(int index)
Define parameters. Multiple names may be defined for a parameter.
For a given method call, only one of them should be used. If multiple
names are used the behavior is implementation-dependent.
If none of the specified names are present the behavior is
parameter-dependent.
repeated .google.api.SystemParameter parameters = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SystemParameterRule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setParameters(int index, SystemParameter value)
public SystemParameterRule.Builder setParameters(int index, SystemParameter value)
Define parameters. Multiple names may be defined for a parameter.
For a given method call, only one of them should be used. If multiple
names are used the behavior is implementation-dependent.
If none of the specified names are present the behavior is
parameter-dependent.
repeated .google.api.SystemParameter parameters = 2;
Parameters
Returns
setParameters(int index, SystemParameter.Builder builderForValue)
public SystemParameterRule.Builder setParameters(int index, SystemParameter.Builder builderForValue)
Define parameters. Multiple names may be defined for a parameter.
For a given method call, only one of them should be used. If multiple
names are used the behavior is implementation-dependent.
If none of the specified names are present the behavior is
parameter-dependent.
repeated .google.api.SystemParameter parameters = 2;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SystemParameterRule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSelector(String value)
public SystemParameterRule.Builder setSelector(String value)
Selects the methods to which this rule applies. Use '*' to indicate all
methods in all APIs.
Refer to selector for syntax details.
string selector = 1;
Parameter
Name | Description |
value | String
The selector to set.
|
Returns
setSelectorBytes(ByteString value)
public SystemParameterRule.Builder setSelectorBytes(ByteString value)
Selects the methods to which this rule applies. Use '*' to indicate all
methods in all APIs.
Refer to selector for syntax details.
string selector = 1;
Parameter
Name | Description |
value | ByteString
The bytes for selector to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final SystemParameterRule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides