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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int HTTP_HEADER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
URL_QUERY_PARAMETER_FIELD_NUMBER
public static final int URL_QUERY_PARAMETER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SystemParameter getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SystemParameter.Builder newBuilder()
newBuilder(SystemParameter prototype)
public static SystemParameter.Builder newBuilder(SystemParameter prototype)
public static SystemParameter parseDelimitedFrom(InputStream input)
public static SystemParameter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SystemParameter parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SystemParameter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SystemParameter parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SystemParameter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SystemParameter parseFrom(CodedInputStream input)
public static SystemParameter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SystemParameter parseFrom(InputStream input)
public static SystemParameter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SystemParameter parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SystemParameter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SystemParameter> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public SystemParameter getDefaultInstanceForType()
public String getHttpHeader()
Define the HTTP header name to use for the parameter. It is case
insensitive.
string http_header = 2;
Returns |
Type |
Description |
String |
The httpHeader.
|
public ByteString getHttpHeaderBytes()
Define the HTTP header name to use for the parameter. It is case
insensitive.
string http_header = 2;
Returns |
Type |
Description |
ByteString |
The bytes for httpHeader.
|
getName()
Define the name of the parameter, such as "api_key" . It is case sensitive.
string name = 1;
Returns |
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;
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<SystemParameter> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUrlQueryParameter()
public String getUrlQueryParameter()
Define the URL query parameter name to use for the parameter. It is case
sensitive.
string url_query_parameter = 3;
Returns |
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;
Returns |
Type |
Description |
ByteString |
The bytes for urlQueryParameter.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SystemParameter.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SystemParameter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public SystemParameter.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides