Class SystemParameterRule (2.38.0)

public final class SystemParameterRule extends GeneratedMessageV3 implements SystemParameterRuleOrBuilder

Define a system parameter rule mapping system parameter definitions to methods.

Protobuf type google.api.SystemParameterRule

Static Fields

PARAMETERS_FIELD_NUMBER

public static final int PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

SELECTOR_FIELD_NUMBER

public static final int SELECTOR_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SystemParameterRule getDefaultInstance()
Returns
Type Description
SystemParameterRule

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SystemParameterRule.Builder newBuilder()
Returns
Type Description
SystemParameterRule.Builder

newBuilder(SystemParameterRule prototype)

public static SystemParameterRule.Builder newBuilder(SystemParameterRule prototype)
Parameter
Name Description
prototype SystemParameterRule
Returns
Type Description
SystemParameterRule.Builder

parseDelimitedFrom(InputStream input)

public static SystemParameterRule parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SystemParameterRule
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SystemParameterRule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SystemParameterRule
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SystemParameterRule parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SystemParameterRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SystemParameterRule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SystemParameterRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SystemParameterRule parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SystemParameterRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SystemParameterRule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SystemParameterRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SystemParameterRule parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SystemParameterRule
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SystemParameterRule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SystemParameterRule
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SystemParameterRule parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SystemParameterRule
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SystemParameterRule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SystemParameterRule
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SystemParameterRule parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SystemParameterRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SystemParameterRule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SystemParameterRule
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SystemParameterRule> parser()
Returns
Type Description
Parser<SystemParameterRule>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public SystemParameterRule getDefaultInstanceForType()
Returns
Type Description
SystemParameterRule

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

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>

getParserForType()

public Parser<SystemParameterRule> getParserForType()
Returns
Type Description
Parser<SystemParameterRule>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SystemParameterRule.Builder newBuilderForType()
Returns
Type Description
SystemParameterRule.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SystemParameterRule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SystemParameterRule.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SystemParameterRule.Builder toBuilder()
Returns
Type Description
SystemParameterRule.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException