lightstep.com.google.api.SystemParameter Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/api/system_parameter.proto
package lightstep.lightstep.lightstep.com.google.api;
/**
*
* 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 {@code google.api.SystemParameter}
*/
public final class SystemParameter extends
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.api.SystemParameter)
SystemParameterOrBuilder {
private static final long serialVersionUID = 0L;
// Use SystemParameter.newBuilder() to construct.
private SystemParameter(lightstep.com.lightstep.lightstep.lightstep.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SystemParameter() {
name_ = "";
httpHeader_ = "";
urlQueryParameter_ = "";
}
@Override
public final lightstep.com.lightstep.lightstep.lightstep.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SystemParameter(
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new NullPointerException();
}
int mutable_bitField0_ = 0;
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.UnknownFieldSet.Builder unknownFields =
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 18: {
String s = input.readStringRequireUtf8();
httpHeader_ = s;
break;
}
case 26: {
String s = input.readStringRequireUtf8();
urlQueryParameter_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (lightstep.com.lightstep.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new lightstep.com.lightstep.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final lightstep.com.lightstep.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.lightstep.lightstep.com.google.api.SystemParameterProto.internal_static_google_api_SystemParameter_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.lightstep.lightstep.com.google.api.SystemParameterProto.internal_static_google_api_SystemParameter_fieldAccessorTable
.ensureFieldAccessorsInitialized(
SystemParameter.class, Builder.class);
}
public static final int NAME_FIELD_NUMBER = 1;
private volatile Object name_;
/**
*
* Define the name of the parameter, such as "api_key" . It is case sensitive.
*
*
* string name = 1;
*/
public String getName() {
Object ref = name_;
if (ref instanceof String) {
return (String) ref;
} else {
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
*
* Define the name of the parameter, such as "api_key" . It is case sensitive.
*
*
* string name = 1;
*/
public lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString
getNameBytes() {
Object ref = name_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
name_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int HTTP_HEADER_FIELD_NUMBER = 2;
private volatile Object httpHeader_;
/**
*
* Define the HTTP header name to use for the parameter. It is case
* insensitive.
*
*
* string http_header = 2;
*/
public String getHttpHeader() {
Object ref = httpHeader_;
if (ref instanceof String) {
return (String) ref;
} else {
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
httpHeader_ = s;
return s;
}
}
/**
*
* Define the HTTP header name to use for the parameter. It is case
* insensitive.
*
*
* string http_header = 2;
*/
public lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString
getHttpHeaderBytes() {
Object ref = httpHeader_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
httpHeader_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
public static final int URL_QUERY_PARAMETER_FIELD_NUMBER = 3;
private volatile Object urlQueryParameter_;
/**
*
* Define the URL query parameter name to use for the parameter. It is case
* sensitive.
*
*
* string url_query_parameter = 3;
*/
public String getUrlQueryParameter() {
Object ref = urlQueryParameter_;
if (ref instanceof String) {
return (String) ref;
} else {
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
urlQueryParameter_ = s;
return s;
}
}
/**
*
* Define the URL query parameter name to use for the parameter. It is case
* sensitive.
*
*
* string url_query_parameter = 3;
*/
public lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString
getUrlQueryParameterBytes() {
Object ref = urlQueryParameter_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
urlQueryParameter_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(lightstep.com.lightstep.lightstep.lightstep.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getNameBytes().isEmpty()) {
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!getHttpHeaderBytes().isEmpty()) {
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 2, httpHeader_);
}
if (!getUrlQueryParameterBytes().isEmpty()) {
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.GeneratedMessageV3.writeString(output, 3, urlQueryParameter_);
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getNameBytes().isEmpty()) {
size += lightstep.com.lightstep.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!getHttpHeaderBytes().isEmpty()) {
size += lightstep.com.lightstep.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(2, httpHeader_);
}
if (!getUrlQueryParameterBytes().isEmpty()) {
size += lightstep.com.lightstep.lightstep.lightstep.google.protobuf.GeneratedMessageV3.computeStringSize(3, urlQueryParameter_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof SystemParameter)) {
return super.equals(obj);
}
SystemParameter other = (SystemParameter) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getHttpHeader()
.equals(other.getHttpHeader())) return false;
if (!getUrlQueryParameter()
.equals(other.getUrlQueryParameter())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + HTTP_HEADER_FIELD_NUMBER;
hash = (53 * hash) + getHttpHeader().hashCode();
hash = (37 * hash) + URL_QUERY_PARAMETER_FIELD_NUMBER;
hash = (53 * hash) + getUrlQueryParameter().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static SystemParameter parseFrom(
java.nio.ByteBuffer data)
throws lightstep.com.lightstep.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static SystemParameter parseFrom(
java.nio.ByteBuffer data,
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static SystemParameter parseFrom(
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString data)
throws lightstep.com.lightstep.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static SystemParameter parseFrom(
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString data,
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static SystemParameter parseFrom(byte[] data)
throws lightstep.com.lightstep.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static SystemParameter parseFrom(
byte[] data,
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static SystemParameter parseFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static SystemParameter parseFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static SystemParameter parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static SystemParameter parseDelimitedFrom(
java.io.InputStream input,
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static SystemParameter parseFrom(
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static SystemParameter parseFrom(
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return lightstep.com.lightstep.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(SystemParameter prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* 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 {@code google.api.SystemParameter}
*/
public static final class Builder extends
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.api.SystemParameter)
lightstep.lightstep.lightstep.com.google.api.SystemParameterOrBuilder {
public static final lightstep.com.lightstep.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return lightstep.lightstep.lightstep.com.google.api.SystemParameterProto.internal_static_google_api_SystemParameter_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return lightstep.lightstep.lightstep.com.google.api.SystemParameterProto.internal_static_google_api_SystemParameter_fieldAccessorTable
.ensureFieldAccessorsInitialized(
SystemParameter.class, Builder.class);
}
// Construct using lightstep.lightstep.lightstep.com.google.api.SystemParameter.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (lightstep.com.lightstep.lightstep.lightstep.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@Override
public Builder clear() {
super.clear();
name_ = "";
httpHeader_ = "";
urlQueryParameter_ = "";
return this;
}
@Override
public lightstep.com.lightstep.lightstep.lightstep.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return lightstep.lightstep.lightstep.com.google.api.SystemParameterProto.internal_static_google_api_SystemParameter_descriptor;
}
@Override
public SystemParameter getDefaultInstanceForType() {
return SystemParameter.getDefaultInstance();
}
@Override
public SystemParameter build() {
SystemParameter result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public SystemParameter buildPartial() {
SystemParameter result = new SystemParameter(this);
result.name_ = name_;
result.httpHeader_ = httpHeader_;
result.urlQueryParameter_ = urlQueryParameter_;
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(lightstep.com.lightstep.lightstep.lightstep.google.protobuf.Message other) {
if (other instanceof SystemParameter) {
return mergeFrom((SystemParameter)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(SystemParameter other) {
if (other == SystemParameter.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getHttpHeader().isEmpty()) {
httpHeader_ = other.httpHeader_;
onChanged();
}
if (!other.getUrlQueryParameter().isEmpty()) {
urlQueryParameter_ = other.urlQueryParameter_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
SystemParameter parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (lightstep.com.lightstep.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (SystemParameter) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private Object name_ = "";
/**
*
* Define the name of the parameter, such as "api_key" . It is case sensitive.
*
*
* string name = 1;
*/
public String getName() {
Object ref = name_;
if (!(ref instanceof String)) {
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (String) ref;
}
}
/**
*
* Define the name of the parameter, such as "api_key" . It is case sensitive.
*
*
* string name = 1;
*/
public lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString
getNameBytes() {
Object ref = name_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
name_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
*
* Define the name of the parameter, such as "api_key" . It is case sensitive.
*
*
* string name = 1;
*/
public Builder setName(
String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
* Define the name of the parameter, such as "api_key" . It is case sensitive.
*
*
* string name = 1;
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* Define the name of the parameter, such as "api_key" . It is case sensitive.
*
*
* string name = 1;
*/
public Builder setNameBytes(
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private Object httpHeader_ = "";
/**
*
* Define the HTTP header name to use for the parameter. It is case
* insensitive.
*
*
* string http_header = 2;
*/
public String getHttpHeader() {
Object ref = httpHeader_;
if (!(ref instanceof String)) {
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
httpHeader_ = s;
return s;
} else {
return (String) ref;
}
}
/**
*
* Define the HTTP header name to use for the parameter. It is case
* insensitive.
*
*
* string http_header = 2;
*/
public lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString
getHttpHeaderBytes() {
Object ref = httpHeader_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
httpHeader_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
*
* Define the HTTP header name to use for the parameter. It is case
* insensitive.
*
*
* string http_header = 2;
*/
public Builder setHttpHeader(
String value) {
if (value == null) {
throw new NullPointerException();
}
httpHeader_ = value;
onChanged();
return this;
}
/**
*
* Define the HTTP header name to use for the parameter. It is case
* insensitive.
*
*
* string http_header = 2;
*/
public Builder clearHttpHeader() {
httpHeader_ = getDefaultInstance().getHttpHeader();
onChanged();
return this;
}
/**
*
* Define the HTTP header name to use for the parameter. It is case
* insensitive.
*
*
* string http_header = 2;
*/
public Builder setHttpHeaderBytes(
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
httpHeader_ = value;
onChanged();
return this;
}
private Object urlQueryParameter_ = "";
/**
*
* Define the URL query parameter name to use for the parameter. It is case
* sensitive.
*
*
* string url_query_parameter = 3;
*/
public String getUrlQueryParameter() {
Object ref = urlQueryParameter_;
if (!(ref instanceof String)) {
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString bs =
(lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
urlQueryParameter_ = s;
return s;
} else {
return (String) ref;
}
}
/**
*
* Define the URL query parameter name to use for the parameter. It is case
* sensitive.
*
*
* string url_query_parameter = 3;
*/
public lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString
getUrlQueryParameterBytes() {
Object ref = urlQueryParameter_;
if (ref instanceof String) {
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString b =
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
urlQueryParameter_ = b;
return b;
} else {
return (lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString) ref;
}
}
/**
*
* Define the URL query parameter name to use for the parameter. It is case
* sensitive.
*
*
* string url_query_parameter = 3;
*/
public Builder setUrlQueryParameter(
String value) {
if (value == null) {
throw new NullPointerException();
}
urlQueryParameter_ = value;
onChanged();
return this;
}
/**
*
* Define the URL query parameter name to use for the parameter. It is case
* sensitive.
*
*
* string url_query_parameter = 3;
*/
public Builder clearUrlQueryParameter() {
urlQueryParameter_ = getDefaultInstance().getUrlQueryParameter();
onChanged();
return this;
}
/**
*
* Define the URL query parameter name to use for the parameter. It is case
* sensitive.
*
*
* string url_query_parameter = 3;
*/
public Builder setUrlQueryParameterBytes(
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
urlQueryParameter_ = value;
onChanged();
return this;
}
@Override
public final Builder setUnknownFields(
final lightstep.com.lightstep.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final lightstep.com.lightstep.lightstep.lightstep.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:google.api.SystemParameter)
}
// @@protoc_insertion_point(class_scope:google.api.SystemParameter)
private static final SystemParameter DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new SystemParameter();
}
public static SystemParameter getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final lightstep.com.lightstep.lightstep.lightstep.google.protobuf.Parser
PARSER = new lightstep.com.lightstep.lightstep.lightstep.google.protobuf.AbstractParser() {
@Override
public SystemParameter parsePartialFrom(
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.CodedInputStream input,
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws lightstep.com.lightstep.lightstep.lightstep.google.protobuf.InvalidProtocolBufferException {
return new SystemParameter(input, extensionRegistry);
}
};
public static lightstep.com.lightstep.lightstep.lightstep.google.protobuf.Parser parser() {
return PARSER;
}
@Override
public lightstep.com.lightstep.lightstep.lightstep.google.protobuf.Parser getParserForType() {
return PARSER;
}
@Override
public SystemParameter getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy