All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.envoyproxy.envoy.config.trace.v3.XRayConfig Maven / Gradle / Ivy

There is a newer version: 1.0.47
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: envoy/config/trace/v3/xray.proto

// Protobuf Java Version: 3.25.1
package io.envoyproxy.envoy.config.trace.v3;

/**
 * 
 * [#extension: envoy.tracers.xray]
 * 
* * Protobuf type {@code envoy.config.trace.v3.XRayConfig} */ public final class XRayConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.trace.v3.XRayConfig) XRayConfigOrBuilder { private static final long serialVersionUID = 0L; // Use XRayConfig.newBuilder() to construct. private XRayConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private XRayConfig() { segmentName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new XRayConfig(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.trace.v3.XrayProto.internal_static_envoy_config_trace_v3_XRayConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.trace.v3.XrayProto.internal_static_envoy_config_trace_v3_XRayConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.trace.v3.XRayConfig.class, io.envoyproxy.envoy.config.trace.v3.XRayConfig.Builder.class); } public interface SegmentFieldsOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.config.trace.v3.XRayConfig.SegmentFields) com.google.protobuf.MessageOrBuilder { /** *
     * The type of AWS resource, e.g. "AWS::AppMesh::Proxy".
     * 
* * string origin = 1; * @return The origin. */ java.lang.String getOrigin(); /** *
     * The type of AWS resource, e.g. "AWS::AppMesh::Proxy".
     * 
* * string origin = 1; * @return The bytes for origin. */ com.google.protobuf.ByteString getOriginBytes(); /** *
     * AWS resource metadata dictionary.
     * See: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-aws>`__
     * 
* * .google.protobuf.Struct aws = 2; * @return Whether the aws field is set. */ boolean hasAws(); /** *
     * AWS resource metadata dictionary.
     * See: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-aws>`__
     * 
* * .google.protobuf.Struct aws = 2; * @return The aws. */ com.google.protobuf.Struct getAws(); /** *
     * AWS resource metadata dictionary.
     * See: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-aws>`__
     * 
* * .google.protobuf.Struct aws = 2; */ com.google.protobuf.StructOrBuilder getAwsOrBuilder(); } /** * Protobuf type {@code envoy.config.trace.v3.XRayConfig.SegmentFields} */ public static final class SegmentFields extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.trace.v3.XRayConfig.SegmentFields) SegmentFieldsOrBuilder { private static final long serialVersionUID = 0L; // Use SegmentFields.newBuilder() to construct. private SegmentFields(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SegmentFields() { origin_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SegmentFields(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.trace.v3.XrayProto.internal_static_envoy_config_trace_v3_XRayConfig_SegmentFields_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.trace.v3.XrayProto.internal_static_envoy_config_trace_v3_XRayConfig_SegmentFields_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields.class, io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields.Builder.class); } private int bitField0_; public static final int ORIGIN_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object origin_ = ""; /** *
     * The type of AWS resource, e.g. "AWS::AppMesh::Proxy".
     * 
* * string origin = 1; * @return The origin. */ @java.lang.Override public java.lang.String getOrigin() { java.lang.Object ref = origin_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); origin_ = s; return s; } } /** *
     * The type of AWS resource, e.g. "AWS::AppMesh::Proxy".
     * 
* * string origin = 1; * @return The bytes for origin. */ @java.lang.Override public com.google.protobuf.ByteString getOriginBytes() { java.lang.Object ref = origin_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); origin_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int AWS_FIELD_NUMBER = 2; private com.google.protobuf.Struct aws_; /** *
     * AWS resource metadata dictionary.
     * See: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-aws>`__
     * 
* * .google.protobuf.Struct aws = 2; * @return Whether the aws field is set. */ @java.lang.Override public boolean hasAws() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * AWS resource metadata dictionary.
     * See: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-aws>`__
     * 
* * .google.protobuf.Struct aws = 2; * @return The aws. */ @java.lang.Override public com.google.protobuf.Struct getAws() { return aws_ == null ? com.google.protobuf.Struct.getDefaultInstance() : aws_; } /** *
     * AWS resource metadata dictionary.
     * See: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-aws>`__
     * 
* * .google.protobuf.Struct aws = 2; */ @java.lang.Override public com.google.protobuf.StructOrBuilder getAwsOrBuilder() { return aws_ == null ? com.google.protobuf.Struct.getDefaultInstance() : aws_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(origin_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, origin_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getAws()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(origin_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, origin_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getAws()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields)) { return super.equals(obj); } io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields other = (io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields) obj; if (!getOrigin() .equals(other.getOrigin())) return false; if (hasAws() != other.hasAws()) return false; if (hasAws()) { if (!getAws() .equals(other.getAws())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ORIGIN_FIELD_NUMBER; hash = (53 * hash) + getOrigin().hashCode(); if (hasAws()) { hash = (37 * hash) + AWS_FIELD_NUMBER; hash = (53 * hash) + getAws().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code envoy.config.trace.v3.XRayConfig.SegmentFields} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.trace.v3.XRayConfig.SegmentFields) io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFieldsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.trace.v3.XrayProto.internal_static_envoy_config_trace_v3_XRayConfig_SegmentFields_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.trace.v3.XrayProto.internal_static_envoy_config_trace_v3_XRayConfig_SegmentFields_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields.class, io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields.Builder.class); } // Construct using io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getAwsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; origin_ = ""; aws_ = null; if (awsBuilder_ != null) { awsBuilder_.dispose(); awsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.config.trace.v3.XrayProto.internal_static_envoy_config_trace_v3_XRayConfig_SegmentFields_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields getDefaultInstanceForType() { return io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields build() { io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields buildPartial() { io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields result = new io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.origin_ = origin_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.aws_ = awsBuilder_ == null ? aws_ : awsBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields) { return mergeFrom((io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields other) { if (other == io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields.getDefaultInstance()) return this; if (!other.getOrigin().isEmpty()) { origin_ = other.origin_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasAws()) { mergeAws(other.getAws()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { origin_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getAwsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object origin_ = ""; /** *
       * The type of AWS resource, e.g. "AWS::AppMesh::Proxy".
       * 
* * string origin = 1; * @return The origin. */ public java.lang.String getOrigin() { java.lang.Object ref = origin_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); origin_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The type of AWS resource, e.g. "AWS::AppMesh::Proxy".
       * 
* * string origin = 1; * @return The bytes for origin. */ public com.google.protobuf.ByteString getOriginBytes() { java.lang.Object ref = origin_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); origin_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The type of AWS resource, e.g. "AWS::AppMesh::Proxy".
       * 
* * string origin = 1; * @param value The origin to set. * @return This builder for chaining. */ public Builder setOrigin( java.lang.String value) { if (value == null) { throw new NullPointerException(); } origin_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * The type of AWS resource, e.g. "AWS::AppMesh::Proxy".
       * 
* * string origin = 1; * @return This builder for chaining. */ public Builder clearOrigin() { origin_ = getDefaultInstance().getOrigin(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * The type of AWS resource, e.g. "AWS::AppMesh::Proxy".
       * 
* * string origin = 1; * @param value The bytes for origin to set. * @return This builder for chaining. */ public Builder setOriginBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); origin_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private com.google.protobuf.Struct aws_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> awsBuilder_; /** *
       * AWS resource metadata dictionary.
       * See: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-aws>`__
       * 
* * .google.protobuf.Struct aws = 2; * @return Whether the aws field is set. */ public boolean hasAws() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * AWS resource metadata dictionary.
       * See: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-aws>`__
       * 
* * .google.protobuf.Struct aws = 2; * @return The aws. */ public com.google.protobuf.Struct getAws() { if (awsBuilder_ == null) { return aws_ == null ? com.google.protobuf.Struct.getDefaultInstance() : aws_; } else { return awsBuilder_.getMessage(); } } /** *
       * AWS resource metadata dictionary.
       * See: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-aws>`__
       * 
* * .google.protobuf.Struct aws = 2; */ public Builder setAws(com.google.protobuf.Struct value) { if (awsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } aws_ = value; } else { awsBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * AWS resource metadata dictionary.
       * See: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-aws>`__
       * 
* * .google.protobuf.Struct aws = 2; */ public Builder setAws( com.google.protobuf.Struct.Builder builderForValue) { if (awsBuilder_ == null) { aws_ = builderForValue.build(); } else { awsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * AWS resource metadata dictionary.
       * See: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-aws>`__
       * 
* * .google.protobuf.Struct aws = 2; */ public Builder mergeAws(com.google.protobuf.Struct value) { if (awsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && aws_ != null && aws_ != com.google.protobuf.Struct.getDefaultInstance()) { getAwsBuilder().mergeFrom(value); } else { aws_ = value; } } else { awsBuilder_.mergeFrom(value); } if (aws_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** *
       * AWS resource metadata dictionary.
       * See: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-aws>`__
       * 
* * .google.protobuf.Struct aws = 2; */ public Builder clearAws() { bitField0_ = (bitField0_ & ~0x00000002); aws_ = null; if (awsBuilder_ != null) { awsBuilder_.dispose(); awsBuilder_ = null; } onChanged(); return this; } /** *
       * AWS resource metadata dictionary.
       * See: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-aws>`__
       * 
* * .google.protobuf.Struct aws = 2; */ public com.google.protobuf.Struct.Builder getAwsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getAwsFieldBuilder().getBuilder(); } /** *
       * AWS resource metadata dictionary.
       * See: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-aws>`__
       * 
* * .google.protobuf.Struct aws = 2; */ public com.google.protobuf.StructOrBuilder getAwsOrBuilder() { if (awsBuilder_ != null) { return awsBuilder_.getMessageOrBuilder(); } else { return aws_ == null ? com.google.protobuf.Struct.getDefaultInstance() : aws_; } } /** *
       * AWS resource metadata dictionary.
       * See: `X-Ray Segment Document documentation <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-aws>`__
       * 
* * .google.protobuf.Struct aws = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getAwsFieldBuilder() { if (awsBuilder_ == null) { awsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( getAws(), getParentForChildren(), isClean()); aws_ = null; } return awsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.config.trace.v3.XRayConfig.SegmentFields) } // @@protoc_insertion_point(class_scope:envoy.config.trace.v3.XRayConfig.SegmentFields) private static final io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields(); } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SegmentFields parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; public static final int DAEMON_ENDPOINT_FIELD_NUMBER = 1; private io.envoyproxy.envoy.config.core.v3.SocketAddress daemonEndpoint_; /** *
   * The UDP endpoint of the X-Ray Daemon where the spans will be sent.
   * If this value is not set, the default value of 127.0.0.1:2000 will be used.
   * 
* * .envoy.config.core.v3.SocketAddress daemon_endpoint = 1; * @return Whether the daemonEndpoint field is set. */ @java.lang.Override public boolean hasDaemonEndpoint() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * The UDP endpoint of the X-Ray Daemon where the spans will be sent.
   * If this value is not set, the default value of 127.0.0.1:2000 will be used.
   * 
* * .envoy.config.core.v3.SocketAddress daemon_endpoint = 1; * @return The daemonEndpoint. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.SocketAddress getDaemonEndpoint() { return daemonEndpoint_ == null ? io.envoyproxy.envoy.config.core.v3.SocketAddress.getDefaultInstance() : daemonEndpoint_; } /** *
   * The UDP endpoint of the X-Ray Daemon where the spans will be sent.
   * If this value is not set, the default value of 127.0.0.1:2000 will be used.
   * 
* * .envoy.config.core.v3.SocketAddress daemon_endpoint = 1; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.SocketAddressOrBuilder getDaemonEndpointOrBuilder() { return daemonEndpoint_ == null ? io.envoyproxy.envoy.config.core.v3.SocketAddress.getDefaultInstance() : daemonEndpoint_; } public static final int SEGMENT_NAME_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object segmentName_ = ""; /** *
   * The name of the X-Ray segment.
   * 
* * string segment_name = 2 [(.validate.rules) = { ... } * @return The segmentName. */ @java.lang.Override public java.lang.String getSegmentName() { java.lang.Object ref = segmentName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); segmentName_ = s; return s; } } /** *
   * The name of the X-Ray segment.
   * 
* * string segment_name = 2 [(.validate.rules) = { ... } * @return The bytes for segmentName. */ @java.lang.Override public com.google.protobuf.ByteString getSegmentNameBytes() { java.lang.Object ref = segmentName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); segmentName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SAMPLING_RULE_MANIFEST_FIELD_NUMBER = 3; private io.envoyproxy.envoy.config.core.v3.DataSource samplingRuleManifest_; /** *
   * The location of a local custom sampling rules JSON file.
   * For an example of the sampling rules see:
   * `X-Ray SDK documentation
   * <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
   * 
* * .envoy.config.core.v3.DataSource sampling_rule_manifest = 3; * @return Whether the samplingRuleManifest field is set. */ @java.lang.Override public boolean hasSamplingRuleManifest() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * The location of a local custom sampling rules JSON file.
   * For an example of the sampling rules see:
   * `X-Ray SDK documentation
   * <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
   * 
* * .envoy.config.core.v3.DataSource sampling_rule_manifest = 3; * @return The samplingRuleManifest. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.DataSource getSamplingRuleManifest() { return samplingRuleManifest_ == null ? io.envoyproxy.envoy.config.core.v3.DataSource.getDefaultInstance() : samplingRuleManifest_; } /** *
   * The location of a local custom sampling rules JSON file.
   * For an example of the sampling rules see:
   * `X-Ray SDK documentation
   * <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
   * 
* * .envoy.config.core.v3.DataSource sampling_rule_manifest = 3; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.DataSourceOrBuilder getSamplingRuleManifestOrBuilder() { return samplingRuleManifest_ == null ? io.envoyproxy.envoy.config.core.v3.DataSource.getDefaultInstance() : samplingRuleManifest_; } public static final int SEGMENT_FIELDS_FIELD_NUMBER = 4; private io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields segmentFields_; /** *
   * Optional custom fields to be added to each trace segment.
   * see: `X-Ray Segment Document documentation
   * <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__
   * 
* * .envoy.config.trace.v3.XRayConfig.SegmentFields segment_fields = 4; * @return Whether the segmentFields field is set. */ @java.lang.Override public boolean hasSegmentFields() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * Optional custom fields to be added to each trace segment.
   * see: `X-Ray Segment Document documentation
   * <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__
   * 
* * .envoy.config.trace.v3.XRayConfig.SegmentFields segment_fields = 4; * @return The segmentFields. */ @java.lang.Override public io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields getSegmentFields() { return segmentFields_ == null ? io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields.getDefaultInstance() : segmentFields_; } /** *
   * Optional custom fields to be added to each trace segment.
   * see: `X-Ray Segment Document documentation
   * <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__
   * 
* * .envoy.config.trace.v3.XRayConfig.SegmentFields segment_fields = 4; */ @java.lang.Override public io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFieldsOrBuilder getSegmentFieldsOrBuilder() { return segmentFields_ == null ? io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields.getDefaultInstance() : segmentFields_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getDaemonEndpoint()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(segmentName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, segmentName_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getSamplingRuleManifest()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(4, getSegmentFields()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getDaemonEndpoint()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(segmentName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, segmentName_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getSamplingRuleManifest()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getSegmentFields()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.config.trace.v3.XRayConfig)) { return super.equals(obj); } io.envoyproxy.envoy.config.trace.v3.XRayConfig other = (io.envoyproxy.envoy.config.trace.v3.XRayConfig) obj; if (hasDaemonEndpoint() != other.hasDaemonEndpoint()) return false; if (hasDaemonEndpoint()) { if (!getDaemonEndpoint() .equals(other.getDaemonEndpoint())) return false; } if (!getSegmentName() .equals(other.getSegmentName())) return false; if (hasSamplingRuleManifest() != other.hasSamplingRuleManifest()) return false; if (hasSamplingRuleManifest()) { if (!getSamplingRuleManifest() .equals(other.getSamplingRuleManifest())) return false; } if (hasSegmentFields() != other.hasSegmentFields()) return false; if (hasSegmentFields()) { if (!getSegmentFields() .equals(other.getSegmentFields())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasDaemonEndpoint()) { hash = (37 * hash) + DAEMON_ENDPOINT_FIELD_NUMBER; hash = (53 * hash) + getDaemonEndpoint().hashCode(); } hash = (37 * hash) + SEGMENT_NAME_FIELD_NUMBER; hash = (53 * hash) + getSegmentName().hashCode(); if (hasSamplingRuleManifest()) { hash = (37 * hash) + SAMPLING_RULE_MANIFEST_FIELD_NUMBER; hash = (53 * hash) + getSamplingRuleManifest().hashCode(); } if (hasSegmentFields()) { hash = (37 * hash) + SEGMENT_FIELDS_FIELD_NUMBER; hash = (53 * hash) + getSegmentFields().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.config.trace.v3.XRayConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * [#extension: envoy.tracers.xray]
   * 
* * Protobuf type {@code envoy.config.trace.v3.XRayConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.trace.v3.XRayConfig) io.envoyproxy.envoy.config.trace.v3.XRayConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.trace.v3.XrayProto.internal_static_envoy_config_trace_v3_XRayConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.trace.v3.XrayProto.internal_static_envoy_config_trace_v3_XRayConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.trace.v3.XRayConfig.class, io.envoyproxy.envoy.config.trace.v3.XRayConfig.Builder.class); } // Construct using io.envoyproxy.envoy.config.trace.v3.XRayConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDaemonEndpointFieldBuilder(); getSamplingRuleManifestFieldBuilder(); getSegmentFieldsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; daemonEndpoint_ = null; if (daemonEndpointBuilder_ != null) { daemonEndpointBuilder_.dispose(); daemonEndpointBuilder_ = null; } segmentName_ = ""; samplingRuleManifest_ = null; if (samplingRuleManifestBuilder_ != null) { samplingRuleManifestBuilder_.dispose(); samplingRuleManifestBuilder_ = null; } segmentFields_ = null; if (segmentFieldsBuilder_ != null) { segmentFieldsBuilder_.dispose(); segmentFieldsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.config.trace.v3.XrayProto.internal_static_envoy_config_trace_v3_XRayConfig_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.trace.v3.XRayConfig getDefaultInstanceForType() { return io.envoyproxy.envoy.config.trace.v3.XRayConfig.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.trace.v3.XRayConfig build() { io.envoyproxy.envoy.config.trace.v3.XRayConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.trace.v3.XRayConfig buildPartial() { io.envoyproxy.envoy.config.trace.v3.XRayConfig result = new io.envoyproxy.envoy.config.trace.v3.XRayConfig(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.envoyproxy.envoy.config.trace.v3.XRayConfig result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.daemonEndpoint_ = daemonEndpointBuilder_ == null ? daemonEndpoint_ : daemonEndpointBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.segmentName_ = segmentName_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.samplingRuleManifest_ = samplingRuleManifestBuilder_ == null ? samplingRuleManifest_ : samplingRuleManifestBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { result.segmentFields_ = segmentFieldsBuilder_ == null ? segmentFields_ : segmentFieldsBuilder_.build(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.config.trace.v3.XRayConfig) { return mergeFrom((io.envoyproxy.envoy.config.trace.v3.XRayConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.trace.v3.XRayConfig other) { if (other == io.envoyproxy.envoy.config.trace.v3.XRayConfig.getDefaultInstance()) return this; if (other.hasDaemonEndpoint()) { mergeDaemonEndpoint(other.getDaemonEndpoint()); } if (!other.getSegmentName().isEmpty()) { segmentName_ = other.segmentName_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasSamplingRuleManifest()) { mergeSamplingRuleManifest(other.getSamplingRuleManifest()); } if (other.hasSegmentFields()) { mergeSegmentFields(other.getSegmentFields()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getDaemonEndpointFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { segmentName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getSamplingRuleManifestFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { input.readMessage( getSegmentFieldsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private io.envoyproxy.envoy.config.core.v3.SocketAddress daemonEndpoint_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.SocketAddress, io.envoyproxy.envoy.config.core.v3.SocketAddress.Builder, io.envoyproxy.envoy.config.core.v3.SocketAddressOrBuilder> daemonEndpointBuilder_; /** *
     * The UDP endpoint of the X-Ray Daemon where the spans will be sent.
     * If this value is not set, the default value of 127.0.0.1:2000 will be used.
     * 
* * .envoy.config.core.v3.SocketAddress daemon_endpoint = 1; * @return Whether the daemonEndpoint field is set. */ public boolean hasDaemonEndpoint() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * The UDP endpoint of the X-Ray Daemon where the spans will be sent.
     * If this value is not set, the default value of 127.0.0.1:2000 will be used.
     * 
* * .envoy.config.core.v3.SocketAddress daemon_endpoint = 1; * @return The daemonEndpoint. */ public io.envoyproxy.envoy.config.core.v3.SocketAddress getDaemonEndpoint() { if (daemonEndpointBuilder_ == null) { return daemonEndpoint_ == null ? io.envoyproxy.envoy.config.core.v3.SocketAddress.getDefaultInstance() : daemonEndpoint_; } else { return daemonEndpointBuilder_.getMessage(); } } /** *
     * The UDP endpoint of the X-Ray Daemon where the spans will be sent.
     * If this value is not set, the default value of 127.0.0.1:2000 will be used.
     * 
* * .envoy.config.core.v3.SocketAddress daemon_endpoint = 1; */ public Builder setDaemonEndpoint(io.envoyproxy.envoy.config.core.v3.SocketAddress value) { if (daemonEndpointBuilder_ == null) { if (value == null) { throw new NullPointerException(); } daemonEndpoint_ = value; } else { daemonEndpointBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * The UDP endpoint of the X-Ray Daemon where the spans will be sent.
     * If this value is not set, the default value of 127.0.0.1:2000 will be used.
     * 
* * .envoy.config.core.v3.SocketAddress daemon_endpoint = 1; */ public Builder setDaemonEndpoint( io.envoyproxy.envoy.config.core.v3.SocketAddress.Builder builderForValue) { if (daemonEndpointBuilder_ == null) { daemonEndpoint_ = builderForValue.build(); } else { daemonEndpointBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * The UDP endpoint of the X-Ray Daemon where the spans will be sent.
     * If this value is not set, the default value of 127.0.0.1:2000 will be used.
     * 
* * .envoy.config.core.v3.SocketAddress daemon_endpoint = 1; */ public Builder mergeDaemonEndpoint(io.envoyproxy.envoy.config.core.v3.SocketAddress value) { if (daemonEndpointBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && daemonEndpoint_ != null && daemonEndpoint_ != io.envoyproxy.envoy.config.core.v3.SocketAddress.getDefaultInstance()) { getDaemonEndpointBuilder().mergeFrom(value); } else { daemonEndpoint_ = value; } } else { daemonEndpointBuilder_.mergeFrom(value); } if (daemonEndpoint_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
     * The UDP endpoint of the X-Ray Daemon where the spans will be sent.
     * If this value is not set, the default value of 127.0.0.1:2000 will be used.
     * 
* * .envoy.config.core.v3.SocketAddress daemon_endpoint = 1; */ public Builder clearDaemonEndpoint() { bitField0_ = (bitField0_ & ~0x00000001); daemonEndpoint_ = null; if (daemonEndpointBuilder_ != null) { daemonEndpointBuilder_.dispose(); daemonEndpointBuilder_ = null; } onChanged(); return this; } /** *
     * The UDP endpoint of the X-Ray Daemon where the spans will be sent.
     * If this value is not set, the default value of 127.0.0.1:2000 will be used.
     * 
* * .envoy.config.core.v3.SocketAddress daemon_endpoint = 1; */ public io.envoyproxy.envoy.config.core.v3.SocketAddress.Builder getDaemonEndpointBuilder() { bitField0_ |= 0x00000001; onChanged(); return getDaemonEndpointFieldBuilder().getBuilder(); } /** *
     * The UDP endpoint of the X-Ray Daemon where the spans will be sent.
     * If this value is not set, the default value of 127.0.0.1:2000 will be used.
     * 
* * .envoy.config.core.v3.SocketAddress daemon_endpoint = 1; */ public io.envoyproxy.envoy.config.core.v3.SocketAddressOrBuilder getDaemonEndpointOrBuilder() { if (daemonEndpointBuilder_ != null) { return daemonEndpointBuilder_.getMessageOrBuilder(); } else { return daemonEndpoint_ == null ? io.envoyproxy.envoy.config.core.v3.SocketAddress.getDefaultInstance() : daemonEndpoint_; } } /** *
     * The UDP endpoint of the X-Ray Daemon where the spans will be sent.
     * If this value is not set, the default value of 127.0.0.1:2000 will be used.
     * 
* * .envoy.config.core.v3.SocketAddress daemon_endpoint = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.SocketAddress, io.envoyproxy.envoy.config.core.v3.SocketAddress.Builder, io.envoyproxy.envoy.config.core.v3.SocketAddressOrBuilder> getDaemonEndpointFieldBuilder() { if (daemonEndpointBuilder_ == null) { daemonEndpointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.SocketAddress, io.envoyproxy.envoy.config.core.v3.SocketAddress.Builder, io.envoyproxy.envoy.config.core.v3.SocketAddressOrBuilder>( getDaemonEndpoint(), getParentForChildren(), isClean()); daemonEndpoint_ = null; } return daemonEndpointBuilder_; } private java.lang.Object segmentName_ = ""; /** *
     * The name of the X-Ray segment.
     * 
* * string segment_name = 2 [(.validate.rules) = { ... } * @return The segmentName. */ public java.lang.String getSegmentName() { java.lang.Object ref = segmentName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); segmentName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The name of the X-Ray segment.
     * 
* * string segment_name = 2 [(.validate.rules) = { ... } * @return The bytes for segmentName. */ public com.google.protobuf.ByteString getSegmentNameBytes() { java.lang.Object ref = segmentName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); segmentName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The name of the X-Ray segment.
     * 
* * string segment_name = 2 [(.validate.rules) = { ... } * @param value The segmentName to set. * @return This builder for chaining. */ public Builder setSegmentName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } segmentName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * The name of the X-Ray segment.
     * 
* * string segment_name = 2 [(.validate.rules) = { ... } * @return This builder for chaining. */ public Builder clearSegmentName() { segmentName_ = getDefaultInstance().getSegmentName(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
     * The name of the X-Ray segment.
     * 
* * string segment_name = 2 [(.validate.rules) = { ... } * @param value The bytes for segmentName to set. * @return This builder for chaining. */ public Builder setSegmentNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); segmentName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private io.envoyproxy.envoy.config.core.v3.DataSource samplingRuleManifest_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.DataSource, io.envoyproxy.envoy.config.core.v3.DataSource.Builder, io.envoyproxy.envoy.config.core.v3.DataSourceOrBuilder> samplingRuleManifestBuilder_; /** *
     * The location of a local custom sampling rules JSON file.
     * For an example of the sampling rules see:
     * `X-Ray SDK documentation
     * <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
     * 
* * .envoy.config.core.v3.DataSource sampling_rule_manifest = 3; * @return Whether the samplingRuleManifest field is set. */ public boolean hasSamplingRuleManifest() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * The location of a local custom sampling rules JSON file.
     * For an example of the sampling rules see:
     * `X-Ray SDK documentation
     * <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
     * 
* * .envoy.config.core.v3.DataSource sampling_rule_manifest = 3; * @return The samplingRuleManifest. */ public io.envoyproxy.envoy.config.core.v3.DataSource getSamplingRuleManifest() { if (samplingRuleManifestBuilder_ == null) { return samplingRuleManifest_ == null ? io.envoyproxy.envoy.config.core.v3.DataSource.getDefaultInstance() : samplingRuleManifest_; } else { return samplingRuleManifestBuilder_.getMessage(); } } /** *
     * The location of a local custom sampling rules JSON file.
     * For an example of the sampling rules see:
     * `X-Ray SDK documentation
     * <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
     * 
* * .envoy.config.core.v3.DataSource sampling_rule_manifest = 3; */ public Builder setSamplingRuleManifest(io.envoyproxy.envoy.config.core.v3.DataSource value) { if (samplingRuleManifestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } samplingRuleManifest_ = value; } else { samplingRuleManifestBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * The location of a local custom sampling rules JSON file.
     * For an example of the sampling rules see:
     * `X-Ray SDK documentation
     * <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
     * 
* * .envoy.config.core.v3.DataSource sampling_rule_manifest = 3; */ public Builder setSamplingRuleManifest( io.envoyproxy.envoy.config.core.v3.DataSource.Builder builderForValue) { if (samplingRuleManifestBuilder_ == null) { samplingRuleManifest_ = builderForValue.build(); } else { samplingRuleManifestBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * The location of a local custom sampling rules JSON file.
     * For an example of the sampling rules see:
     * `X-Ray SDK documentation
     * <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
     * 
* * .envoy.config.core.v3.DataSource sampling_rule_manifest = 3; */ public Builder mergeSamplingRuleManifest(io.envoyproxy.envoy.config.core.v3.DataSource value) { if (samplingRuleManifestBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && samplingRuleManifest_ != null && samplingRuleManifest_ != io.envoyproxy.envoy.config.core.v3.DataSource.getDefaultInstance()) { getSamplingRuleManifestBuilder().mergeFrom(value); } else { samplingRuleManifest_ = value; } } else { samplingRuleManifestBuilder_.mergeFrom(value); } if (samplingRuleManifest_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** *
     * The location of a local custom sampling rules JSON file.
     * For an example of the sampling rules see:
     * `X-Ray SDK documentation
     * <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
     * 
* * .envoy.config.core.v3.DataSource sampling_rule_manifest = 3; */ public Builder clearSamplingRuleManifest() { bitField0_ = (bitField0_ & ~0x00000004); samplingRuleManifest_ = null; if (samplingRuleManifestBuilder_ != null) { samplingRuleManifestBuilder_.dispose(); samplingRuleManifestBuilder_ = null; } onChanged(); return this; } /** *
     * The location of a local custom sampling rules JSON file.
     * For an example of the sampling rules see:
     * `X-Ray SDK documentation
     * <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
     * 
* * .envoy.config.core.v3.DataSource sampling_rule_manifest = 3; */ public io.envoyproxy.envoy.config.core.v3.DataSource.Builder getSamplingRuleManifestBuilder() { bitField0_ |= 0x00000004; onChanged(); return getSamplingRuleManifestFieldBuilder().getBuilder(); } /** *
     * The location of a local custom sampling rules JSON file.
     * For an example of the sampling rules see:
     * `X-Ray SDK documentation
     * <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
     * 
* * .envoy.config.core.v3.DataSource sampling_rule_manifest = 3; */ public io.envoyproxy.envoy.config.core.v3.DataSourceOrBuilder getSamplingRuleManifestOrBuilder() { if (samplingRuleManifestBuilder_ != null) { return samplingRuleManifestBuilder_.getMessageOrBuilder(); } else { return samplingRuleManifest_ == null ? io.envoyproxy.envoy.config.core.v3.DataSource.getDefaultInstance() : samplingRuleManifest_; } } /** *
     * The location of a local custom sampling rules JSON file.
     * For an example of the sampling rules see:
     * `X-Ray SDK documentation
     * <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
     * 
* * .envoy.config.core.v3.DataSource sampling_rule_manifest = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.DataSource, io.envoyproxy.envoy.config.core.v3.DataSource.Builder, io.envoyproxy.envoy.config.core.v3.DataSourceOrBuilder> getSamplingRuleManifestFieldBuilder() { if (samplingRuleManifestBuilder_ == null) { samplingRuleManifestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.DataSource, io.envoyproxy.envoy.config.core.v3.DataSource.Builder, io.envoyproxy.envoy.config.core.v3.DataSourceOrBuilder>( getSamplingRuleManifest(), getParentForChildren(), isClean()); samplingRuleManifest_ = null; } return samplingRuleManifestBuilder_; } private io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields segmentFields_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields, io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields.Builder, io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFieldsOrBuilder> segmentFieldsBuilder_; /** *
     * Optional custom fields to be added to each trace segment.
     * see: `X-Ray Segment Document documentation
     * <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__
     * 
* * .envoy.config.trace.v3.XRayConfig.SegmentFields segment_fields = 4; * @return Whether the segmentFields field is set. */ public boolean hasSegmentFields() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Optional custom fields to be added to each trace segment.
     * see: `X-Ray Segment Document documentation
     * <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__
     * 
* * .envoy.config.trace.v3.XRayConfig.SegmentFields segment_fields = 4; * @return The segmentFields. */ public io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields getSegmentFields() { if (segmentFieldsBuilder_ == null) { return segmentFields_ == null ? io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields.getDefaultInstance() : segmentFields_; } else { return segmentFieldsBuilder_.getMessage(); } } /** *
     * Optional custom fields to be added to each trace segment.
     * see: `X-Ray Segment Document documentation
     * <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__
     * 
* * .envoy.config.trace.v3.XRayConfig.SegmentFields segment_fields = 4; */ public Builder setSegmentFields(io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields value) { if (segmentFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } segmentFields_ = value; } else { segmentFieldsBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Optional custom fields to be added to each trace segment.
     * see: `X-Ray Segment Document documentation
     * <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__
     * 
* * .envoy.config.trace.v3.XRayConfig.SegmentFields segment_fields = 4; */ public Builder setSegmentFields( io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields.Builder builderForValue) { if (segmentFieldsBuilder_ == null) { segmentFields_ = builderForValue.build(); } else { segmentFieldsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Optional custom fields to be added to each trace segment.
     * see: `X-Ray Segment Document documentation
     * <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__
     * 
* * .envoy.config.trace.v3.XRayConfig.SegmentFields segment_fields = 4; */ public Builder mergeSegmentFields(io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields value) { if (segmentFieldsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && segmentFields_ != null && segmentFields_ != io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields.getDefaultInstance()) { getSegmentFieldsBuilder().mergeFrom(value); } else { segmentFields_ = value; } } else { segmentFieldsBuilder_.mergeFrom(value); } if (segmentFields_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** *
     * Optional custom fields to be added to each trace segment.
     * see: `X-Ray Segment Document documentation
     * <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__
     * 
* * .envoy.config.trace.v3.XRayConfig.SegmentFields segment_fields = 4; */ public Builder clearSegmentFields() { bitField0_ = (bitField0_ & ~0x00000008); segmentFields_ = null; if (segmentFieldsBuilder_ != null) { segmentFieldsBuilder_.dispose(); segmentFieldsBuilder_ = null; } onChanged(); return this; } /** *
     * Optional custom fields to be added to each trace segment.
     * see: `X-Ray Segment Document documentation
     * <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__
     * 
* * .envoy.config.trace.v3.XRayConfig.SegmentFields segment_fields = 4; */ public io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields.Builder getSegmentFieldsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getSegmentFieldsFieldBuilder().getBuilder(); } /** *
     * Optional custom fields to be added to each trace segment.
     * see: `X-Ray Segment Document documentation
     * <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__
     * 
* * .envoy.config.trace.v3.XRayConfig.SegmentFields segment_fields = 4; */ public io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFieldsOrBuilder getSegmentFieldsOrBuilder() { if (segmentFieldsBuilder_ != null) { return segmentFieldsBuilder_.getMessageOrBuilder(); } else { return segmentFields_ == null ? io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields.getDefaultInstance() : segmentFields_; } } /** *
     * Optional custom fields to be added to each trace segment.
     * see: `X-Ray Segment Document documentation
     * <https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html>`__
     * 
* * .envoy.config.trace.v3.XRayConfig.SegmentFields segment_fields = 4; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields, io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields.Builder, io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFieldsOrBuilder> getSegmentFieldsFieldBuilder() { if (segmentFieldsBuilder_ == null) { segmentFieldsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields, io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFields.Builder, io.envoyproxy.envoy.config.trace.v3.XRayConfig.SegmentFieldsOrBuilder>( getSegmentFields(), getParentForChildren(), isClean()); segmentFields_ = null; } return segmentFieldsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.config.trace.v3.XRayConfig) } // @@protoc_insertion_point(class_scope:envoy.config.trace.v3.XRayConfig) private static final io.envoyproxy.envoy.config.trace.v3.XRayConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.trace.v3.XRayConfig(); } public static io.envoyproxy.envoy.config.trace.v3.XRayConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public XRayConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.config.trace.v3.XRayConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy