public static final class SystemParameter.Builder extends GeneratedMessageV3.Builder<SystemParameter.Builder> 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SystemParameter.BuilderImplements
SystemParameterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SystemParameter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SystemParameter.Builder |
build()
public SystemParameter build()
Type | Description |
SystemParameter |
buildPartial()
public SystemParameter buildPartial()
Type | Description |
SystemParameter |
clear()
public SystemParameter.Builder clear()
Type | Description |
SystemParameter.Builder |
clearField(Descriptors.FieldDescriptor field)
public SystemParameter.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
SystemParameter.Builder |
clearHttpHeader()
public SystemParameter.Builder clearHttpHeader()
Define the HTTP header name to use for the parameter. It is case insensitive.
string http_header = 2;
Type | Description |
SystemParameter.Builder | This builder for chaining. |
clearName()
public SystemParameter.Builder clearName()
Define the name of the parameter, such as "api_key" . It is case sensitive.
string name = 1;
Type | Description |
SystemParameter.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SystemParameter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
SystemParameter.Builder |
clearUrlQueryParameter()
public SystemParameter.Builder clearUrlQueryParameter()
Define the URL query parameter name to use for the parameter. It is case sensitive.
string url_query_parameter = 3;
Type | Description |
SystemParameter.Builder | This builder for chaining. |
clone()
public SystemParameter.Builder clone()
Type | Description |
SystemParameter.Builder |
getDefaultInstanceForType()
public SystemParameter getDefaultInstanceForType()
Type | Description |
SystemParameter |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(SystemParameter other)
public SystemParameter.Builder mergeFrom(SystemParameter other)
Name | Description |
other | SystemParameter |
Type | Description |
SystemParameter.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SystemParameter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SystemParameter.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public SystemParameter.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
SystemParameter.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SystemParameter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SystemParameter.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SystemParameter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SystemParameter.Builder |
setHttpHeader(String value)
public SystemParameter.Builder setHttpHeader(String value)
Define the HTTP header name to use for the parameter. It is case insensitive.
string http_header = 2;
Name | Description |
value | String The httpHeader to set. |
Type | Description |
SystemParameter.Builder | This builder for chaining. |
setHttpHeaderBytes(ByteString value)
public SystemParameter.Builder setHttpHeaderBytes(ByteString value)
Define the HTTP header name to use for the parameter. It is case insensitive.
string http_header = 2;
Name | Description |
value | ByteString The bytes for httpHeader to set. |
Type | Description |
SystemParameter.Builder | This builder for chaining. |
setName(String value)
public SystemParameter.Builder setName(String value)
Define the name of the parameter, such as "api_key" . It is case sensitive.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
SystemParameter.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public SystemParameter.Builder setNameBytes(ByteString value)
Define the name of the parameter, such as "api_key" . It is case sensitive.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
SystemParameter.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SystemParameter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
SystemParameter.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SystemParameter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SystemParameter.Builder |
setUrlQueryParameter(String value)
public SystemParameter.Builder setUrlQueryParameter(String value)
Define the URL query parameter name to use for the parameter. It is case sensitive.
string url_query_parameter = 3;
Name | Description |
value | String The urlQueryParameter to set. |
Type | Description |
SystemParameter.Builder | This builder for chaining. |
setUrlQueryParameterBytes(ByteString value)
public SystemParameter.Builder setUrlQueryParameterBytes(ByteString value)
Define the URL query parameter name to use for the parameter. It is case sensitive.
string url_query_parameter = 3;
Name | Description |
value | ByteString The bytes for urlQueryParameter to set. |
Type | Description |
SystemParameter.Builder | This builder for chaining. |