Send feedback
Class GetTraceRequest (2.14.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.14.0 keyboard_arrow_down
public final class GetTraceRequest extends GeneratedMessageV3 implements GetTraceRequestOrBuilder
The request message for the GetTrace
method.
Protobuf type google.devtools.cloudtrace.v1.GetTraceRequest
Static Fields
public static final int PROJECT_ID_FIELD_NUMBER
Field Value Type Description int
public static final int TRACE_ID_FIELD_NUMBER
Field Value Type Description int
Static Methods
public static GetTraceRequest getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static GetTraceRequest . Builder newBuilder ()
public static GetTraceRequest . Builder newBuilder ( GetTraceRequest prototype )
public static GetTraceRequest parseDelimitedFrom ( InputStream input )
public static GetTraceRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static GetTraceRequest parseFrom ( byte [] data )
Parameter Name Description data
byte []
public static GetTraceRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static GetTraceRequest parseFrom ( ByteString data )
public static GetTraceRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static GetTraceRequest parseFrom ( CodedInputStream input )
public static GetTraceRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static GetTraceRequest parseFrom ( InputStream input )
public static GetTraceRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static GetTraceRequest parseFrom ( ByteBuffer data )
public static GetTraceRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<GetTraceRequest> parser ()
Methods
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
public GetTraceRequest getDefaultInstanceForType ()
public Parser<GetTraceRequest> getParserForType ()
Overrides
public String getProjectId ()
Required. ID of the Cloud project where the trace data is stored.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description String
The projectId.
public ByteString getProjectIdBytes ()
Required. ID of the Cloud project where the trace data is stored.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description ByteString
The bytes for projectId.
public int getSerializedSize ()
Returns Type Description int
Overrides
public String getTraceId ()
Required. ID of the trace to return.
string trace_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description String
The traceId.
public ByteString getTraceIdBytes ()
Required. ID of the trace to return.
string trace_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description ByteString
The bytes for traceId.
public final UnknownFieldSet getUnknownFields ()
Overrides
Returns Type Description int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public GetTraceRequest . Builder newBuilderForType ()
protected GetTraceRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
public GetTraceRequest . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]