public final class SystemParameter extends GeneratedMessageV3 implements SystemParameterOrBuilder
Define a parameter's name and location. The parameter may be passed as either an HTTP header or a URL query parameter, and if both are passed the behavior is implementation-dependent.
Protobuf type google.api.SystemParameter
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SystemParameterImplements
SystemParameterOrBuilderStatic Fields
HTTP_HEADER_FIELD_NUMBER
public static final int HTTP_HEADER_FIELD_NUMBER
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
URL_QUERY_PARAMETER_FIELD_NUMBER
public static final int URL_QUERY_PARAMETER_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static SystemParameter getDefaultInstance()
Type | Description |
SystemParameter |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static SystemParameter.Builder newBuilder()
Type | Description |
SystemParameter.Builder |
newBuilder(SystemParameter prototype)
public static SystemParameter.Builder newBuilder(SystemParameter prototype)
Name | Description |
prototype | SystemParameter |
Type | Description |
SystemParameter.Builder |
parseDelimitedFrom(InputStream input)
public static SystemParameter parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
SystemParameter |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SystemParameter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SystemParameter |
Type | Description |
IOException |
parseFrom(byte[] data)
public static SystemParameter parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
SystemParameter |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SystemParameter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SystemParameter |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static SystemParameter parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
SystemParameter |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SystemParameter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SystemParameter |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static SystemParameter parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
SystemParameter |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SystemParameter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SystemParameter |
Type | Description |
IOException |
parseFrom(InputStream input)
public static SystemParameter parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
SystemParameter |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SystemParameter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SystemParameter |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static SystemParameter parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
SystemParameter |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SystemParameter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SystemParameter |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<SystemParameter> parser()
Type | Description |
Parser<SystemParameter> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public SystemParameter getDefaultInstanceForType()
Type | Description |
SystemParameter |
getHttpHeader()
public String getHttpHeader()
Define the HTTP header name to use for the parameter. It is case insensitive.
string http_header = 2;
Type | Description |
String | The httpHeader. |
getHttpHeaderBytes()
public ByteString getHttpHeaderBytes()
Define the HTTP header name to use for the parameter. It is case insensitive.
string http_header = 2;
Type | Description |
ByteString | The bytes for httpHeader. |
getName()
public String getName()
Define the name of the parameter, such as "api_key" . It is case sensitive.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Define the name of the parameter, such as "api_key" . It is case sensitive.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getParserForType()
public Parser<SystemParameter> getParserForType()
Type | Description |
Parser<SystemParameter> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getUrlQueryParameter()
public String getUrlQueryParameter()
Define the URL query parameter name to use for the parameter. It is case sensitive.
string url_query_parameter = 3;
Type | Description |
String | The urlQueryParameter. |
getUrlQueryParameterBytes()
public ByteString getUrlQueryParameterBytes()
Define the URL query parameter name to use for the parameter. It is case sensitive.
string url_query_parameter = 3;
Type | Description |
ByteString | The bytes for urlQueryParameter. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public SystemParameter.Builder newBuilderForType()
Type | Description |
SystemParameter.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SystemParameter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
SystemParameter.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public SystemParameter.Builder toBuilder()
Type | Description |
SystemParameter.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |