Class SystemParameterRule.Builder (2.41.0)

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
Type Description
Descriptor

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
Type Description
SystemParameterRule.Builder

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
Name Description
value SystemParameter
Returns
Type Description
SystemParameterRule.Builder

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
Name Description
builderForValue SystemParameter.Builder
Returns
Type Description
SystemParameterRule.Builder

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
Name Description
index int
value SystemParameter
Returns
Type Description
SystemParameterRule.Builder

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
Name Description
index int
builderForValue SystemParameter.Builder
Returns
Type Description
SystemParameterRule.Builder

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
Type Description
SystemParameter.Builder

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
Returns
Type Description
SystemParameter.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SystemParameterRule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SystemParameterRule.Builder
Overrides

build()

public SystemParameterRule build()
Returns
Type Description
SystemParameterRule

buildPartial()

public SystemParameterRule buildPartial()
Returns
Type Description
SystemParameterRule

clear()

public SystemParameterRule.Builder clear()
Returns
Type Description
SystemParameterRule.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SystemParameterRule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SystemParameterRule.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SystemParameterRule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SystemParameterRule.Builder
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
Type Description
SystemParameterRule.Builder

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
Type Description
SystemParameterRule.Builder

This builder for chaining.

clone()

public SystemParameterRule.Builder clone()
Returns
Type Description
SystemParameterRule.Builder
Overrides

getDefaultInstanceForType()

public SystemParameterRule getDefaultInstanceForType()
Returns
Type Description
SystemParameterRule

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Returns
Type Description
SystemParameter

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
Returns
Type Description
SystemParameter.Builder

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
Type Description
List<Builder>

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;

Returns
Type Description
List<SystemParameter>

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
Returns
Type Description
SystemParameterOrBuilder

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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SystemParameterRule other)

public SystemParameterRule.Builder mergeFrom(SystemParameterRule other)
Parameter
Name Description
other SystemParameterRule
Returns
Type Description
SystemParameterRule.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SystemParameterRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SystemParameterRule.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SystemParameterRule.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SystemParameterRule.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SystemParameterRule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SystemParameterRule.Builder
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
Returns
Type Description
SystemParameterRule.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SystemParameterRule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SystemParameterRule.Builder
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
Name Description
index int
value SystemParameter
Returns
Type Description
SystemParameterRule.Builder

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
Name Description
index int
builderForValue SystemParameter.Builder
Returns
Type Description
SystemParameterRule.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SystemParameterRule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SystemParameterRule.Builder
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
Type Description
SystemParameterRule.Builder

This builder for chaining.

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
Type Description
SystemParameterRule.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SystemParameterRule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SystemParameterRule.Builder
Overrides