Class ListTraceScopesResponse (0.3.0)

public final class ListTraceScopesResponse extends GeneratedMessage implements ListTraceScopesResponseOrBuilder

Response for listing TraceScopes.

Protobuf type google.cloud.observability.v1.ListTraceScopesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

TRACE_SCOPES_FIELD_NUMBER

public static final int TRACE_SCOPES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListTraceScopesResponse getDefaultInstance()
Returns
Type Description
ListTraceScopesResponse

getDescriptor()

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

newBuilder()

public static ListTraceScopesResponse.Builder newBuilder()
Returns
Type Description
ListTraceScopesResponse.Builder

newBuilder(ListTraceScopesResponse prototype)

public static ListTraceScopesResponse.Builder newBuilder(ListTraceScopesResponse prototype)
Parameter
Name Description
prototype ListTraceScopesResponse
Returns
Type Description
ListTraceScopesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListTraceScopesResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListTraceScopesResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListTraceScopesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListTraceScopesResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListTraceScopesResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListTraceScopesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListTraceScopesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListTraceScopesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListTraceScopesResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListTraceScopesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListTraceScopesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListTraceScopesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListTraceScopesResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListTraceScopesResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListTraceScopesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListTraceScopesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListTraceScopesResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListTraceScopesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListTraceScopesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListTraceScopesResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListTraceScopesResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListTraceScopesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListTraceScopesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListTraceScopesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListTraceScopesResponse> parser()
Returns
Type Description
Parser<ListTraceScopesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ListTraceScopesResponse getDefaultInstanceForType()
Returns
Type Description
ListTraceScopesResponse

getNextPageToken()

public String getNextPageToken()

Optional. If there might be more results than appear in this response, then next_page_token is included. To get the next set of results, call the same method again using the value of next_page_token as page_token.

string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Optional. If there might be more results than appear in this response, then next_page_token is included. To get the next set of results, call the same method again using the value of next_page_token as page_token.

string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListTraceScopesResponse> getParserForType()
Returns
Type Description
Parser<ListTraceScopesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTraceScopes(int index)

public TraceScope getTraceScopes(int index)

Optional. A list of trace scopes.

repeated .google.cloud.observability.v1.TraceScope trace_scopes = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
TraceScope

getTraceScopesCount()

public int getTraceScopesCount()

Optional. A list of trace scopes.

repeated .google.cloud.observability.v1.TraceScope trace_scopes = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getTraceScopesList()

public List<TraceScope> getTraceScopesList()

Optional. A list of trace scopes.

repeated .google.cloud.observability.v1.TraceScope trace_scopes = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<TraceScope>

getTraceScopesOrBuilder(int index)

public TraceScopeOrBuilder getTraceScopesOrBuilder(int index)

Optional. A list of trace scopes.

repeated .google.cloud.observability.v1.TraceScope trace_scopes = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
TraceScopeOrBuilder

getTraceScopesOrBuilderList()

public List<? extends TraceScopeOrBuilder> getTraceScopesOrBuilderList()

Optional. A list of trace scopes.

repeated .google.cloud.observability.v1.TraceScope trace_scopes = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.observability.v1.TraceScopeOrBuilder>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListTraceScopesResponse.Builder newBuilderForType()
Returns
Type Description
ListTraceScopesResponse.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ListTraceScopesResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListTraceScopesResponse.Builder
Overrides

toBuilder()

public ListTraceScopesResponse.Builder toBuilder()
Returns
Type Description
ListTraceScopesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException