Class SystemParameter.Builder (2.43.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SystemParameter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SystemParameter.Builder
Overrides

build()

public SystemParameter build()
Returns
Type Description
SystemParameter

buildPartial()

public SystemParameter buildPartial()
Returns
Type Description
SystemParameter

clear()

public SystemParameter.Builder clear()
Returns
Type Description
SystemParameter.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SystemParameter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SystemParameter.Builder
Overrides

clearHttpHeader()

public SystemParameter.Builder clearHttpHeader()

Define the HTTP header name to use for the parameter. It is case insensitive.

string http_header = 2;

Returns
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;

Returns
Type Description
SystemParameter.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SystemParameter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SystemParameter.Builder
Overrides

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;

Returns
Type Description
SystemParameter.Builder

This builder for chaining.

clone()

public SystemParameter.Builder clone()
Returns
Type Description
SystemParameter.Builder
Overrides

getDefaultInstanceForType()

public SystemParameter getDefaultInstanceForType()
Returns
Type Description
SystemParameter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHttpHeader()

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.

getHttpHeaderBytes()

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()

public String 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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SystemParameter other)

public SystemParameter.Builder mergeFrom(SystemParameter other)
Parameter
Name Description
other SystemParameter
Returns
Type Description
SystemParameter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SystemParameter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SystemParameter.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SystemParameter.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SystemParameter.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SystemParameter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SystemParameter.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SystemParameter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SystemParameter.Builder
Overrides

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;

Parameter
Name Description
value String

The httpHeader to set.

Returns
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;

Parameter
Name Description
value ByteString

The bytes for httpHeader to set.

Returns
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;

Parameter
Name Description
value String

The name to set.

Returns
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;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
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)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SystemParameter.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SystemParameter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SystemParameter.Builder
Overrides

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;

Parameter
Name Description
value String

The urlQueryParameter to set.

Returns
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;

Parameter
Name Description
value ByteString

The bytes for urlQueryParameter to set.

Returns
Type Description
SystemParameter.Builder

This builder for chaining.