Class SystemParameterRule (2.12.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
TypeDescription
int

SELECTOR_FIELD_NUMBER

public static final int SELECTOR_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SystemParameterRule getDefaultInstance()
Returns
TypeDescription
SystemParameterRule

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SystemParameterRule.Builder newBuilder()
Returns
TypeDescription
SystemParameterRule.Builder

newBuilder(SystemParameterRule prototype)

public static SystemParameterRule.Builder newBuilder(SystemParameterRule prototype)
Parameter
NameDescription
prototypeSystemParameterRule
Returns
TypeDescription
SystemParameterRule.Builder

parseDelimitedFrom(InputStream input)

public static SystemParameterRule parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SystemParameterRule
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SystemParameterRule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SystemParameterRule
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SystemParameterRule parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SystemParameterRule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SystemParameterRule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SystemParameterRule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SystemParameterRule parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SystemParameterRule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SystemParameterRule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SystemParameterRule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SystemParameterRule parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SystemParameterRule
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SystemParameterRule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SystemParameterRule
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SystemParameterRule parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SystemParameterRule
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SystemParameterRule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SystemParameterRule
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SystemParameterRule parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SystemParameterRule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SystemParameterRule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SystemParameterRule
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SystemParameterRule> parser()
Returns
TypeDescription
Parser<SystemParameterRule>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SystemParameterRule getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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>

getParserForType()

public Parser<SystemParameterRule> getParserForType()
Returns
TypeDescription
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
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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SystemParameterRule.Builder newBuilderForType()
Returns
TypeDescription
SystemParameterRule.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SystemParameterRule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SystemParameterRule.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SystemParameterRule.Builder toBuilder()
Returns
TypeDescription
SystemParameterRule.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException