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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
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;
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SystemParameterRule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SystemParameterRule build()
buildPartial()
public SystemParameterRule buildPartial()
clear()
public SystemParameterRule.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SystemParameterRule.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SystemParameterRule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
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;
clone()
public SystemParameterRule.Builder clone()
Overrides
getDefaultInstanceForType()
public SystemParameterRule getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
ByteString | The bytes for selector.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SystemParameterRule other)
public SystemParameterRule.Builder mergeFrom(SystemParameterRule other)
public SystemParameterRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SystemParameterRule.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SystemParameterRule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public SystemParameterRule.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SystemParameterRule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final SystemParameterRule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides