Class SystemParameterRule.Builder (2.8.4)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.api.SystemParameter>
Returns
TypeDescription
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
NameDescription
valueSystemParameter
Returns
TypeDescription
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
NameDescription
builderForValueSystemParameter.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueSystemParameter
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSystemParameter.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SystemParameter.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SystemParameterRule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SystemParameterRule.Builder
Overrides

build()

public SystemParameterRule build()
Returns
TypeDescription
SystemParameterRule

buildPartial()

public SystemParameterRule buildPartial()
Returns
TypeDescription
SystemParameterRule

clear()

public SystemParameterRule.Builder clear()
Returns
TypeDescription
SystemParameterRule.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SystemParameterRule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SystemParameterRule.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SystemParameterRule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SystemParameterRule.Builder

This builder for chaining.

clone()

public SystemParameterRule.Builder clone()
Returns
TypeDescription
SystemParameterRule.Builder
Overrides

getDefaultInstanceForType()

public SystemParameterRule getDefaultInstanceForType()
Returns
TypeDescription
SystemParameterRule

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for selector.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SystemParameterRule other)

public SystemParameterRule.Builder mergeFrom(SystemParameterRule other)
Parameter
NameDescription
otherSystemParameterRule
Returns
TypeDescription
SystemParameterRule.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SystemParameterRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SystemParameterRule.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SystemParameterRule.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SystemParameterRule.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SystemParameterRule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SystemParameterRule.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SystemParameterRule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueSystemParameter
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSystemParameter.Builder
Returns
TypeDescription
SystemParameterRule.Builder

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

public SystemParameterRule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The selector to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for selector to set.

Returns
TypeDescription
SystemParameterRule.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SystemParameterRule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SystemParameterRule.Builder
Overrides