Class RequestInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RequestInfo.Builder>
com.google.rpc.RequestInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RequestInfoOrBuilder, Cloneable
Enclosing class:
RequestInfo

public static final class RequestInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<RequestInfo.Builder> implements RequestInfoOrBuilder
 Contains metadata about the request that clients can attach when filing a bug
 or providing other forms of feedback.
 
Protobuf type google.rpc.RequestInfo
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    An opaque string that should only be interpreted by the service generating it.
    Any data that was used to serve this request.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    An opaque string that should only be interpreted by the service generating it.
    com.google.protobuf.ByteString
    An opaque string that should only be interpreted by the service generating it.
    Any data that was used to serve this request.
    com.google.protobuf.ByteString
    Any data that was used to serve this request.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    An opaque string that should only be interpreted by the service generating it.
    setRequestIdBytes(com.google.protobuf.ByteString value)
    An opaque string that should only be interpreted by the service generating it.
    Any data that was used to serve this request.
    setServingDataBytes(com.google.protobuf.ByteString value)
    Any data that was used to serve this request.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RequestInfo.Builder>
    • clear

      public RequestInfo.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<RequestInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RequestInfo.Builder>
    • getDefaultInstanceForType

      public RequestInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public RequestInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RequestInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public RequestInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RequestInfo.Builder>
    • mergeFrom

      public RequestInfo.Builder mergeFrom(RequestInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<RequestInfo.Builder>
    • mergeFrom

      public RequestInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RequestInfo.Builder>
      Throws:
      IOException
    • getRequestId

      public String getRequestId()
       An opaque string that should only be interpreted by the service generating
       it. For example, it can be used to identify requests in the service's logs.
       
      string request_id = 1;
      Specified by:
      getRequestId in interface RequestInfoOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       An opaque string that should only be interpreted by the service generating
       it. For example, it can be used to identify requests in the service's logs.
       
      string request_id = 1;
      Specified by:
      getRequestIdBytes in interface RequestInfoOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public RequestInfo.Builder setRequestId(String value)
       An opaque string that should only be interpreted by the service generating
       it. For example, it can be used to identify requests in the service's logs.
       
      string request_id = 1;
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

      public RequestInfo.Builder clearRequestId()
       An opaque string that should only be interpreted by the service generating
       it. For example, it can be used to identify requests in the service's logs.
       
      string request_id = 1;
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public RequestInfo.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
       An opaque string that should only be interpreted by the service generating
       it. For example, it can be used to identify requests in the service's logs.
       
      string request_id = 1;
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.
    • getServingData

      public String getServingData()
       Any data that was used to serve this request. For example, an encrypted
       stack trace that can be sent back to the service provider for debugging.
       
      string serving_data = 2;
      Specified by:
      getServingData in interface RequestInfoOrBuilder
      Returns:
      The servingData.
    • getServingDataBytes

      public com.google.protobuf.ByteString getServingDataBytes()
       Any data that was used to serve this request. For example, an encrypted
       stack trace that can be sent back to the service provider for debugging.
       
      string serving_data = 2;
      Specified by:
      getServingDataBytes in interface RequestInfoOrBuilder
      Returns:
      The bytes for servingData.
    • setServingData

      public RequestInfo.Builder setServingData(String value)
       Any data that was used to serve this request. For example, an encrypted
       stack trace that can be sent back to the service provider for debugging.
       
      string serving_data = 2;
      Parameters:
      value - The servingData to set.
      Returns:
      This builder for chaining.
    • clearServingData

      public RequestInfo.Builder clearServingData()
       Any data that was used to serve this request. For example, an encrypted
       stack trace that can be sent back to the service provider for debugging.
       
      string serving_data = 2;
      Returns:
      This builder for chaining.
    • setServingDataBytes

      public RequestInfo.Builder setServingDataBytes(com.google.protobuf.ByteString value)
       Any data that was used to serve this request. For example, an encrypted
       stack trace that can be sent back to the service provider for debugging.
       
      string serving_data = 2;
      Parameters:
      value - The bytes for servingData to set.
      Returns:
      This builder for chaining.