public static final class ListTracesResponse.Builder extends GeneratedMessageV3.Builder<ListTracesResponse.Builder> implements ListTracesResponseOrBuilder
The response message for the `ListTraces` method.Protobuf type
google.devtools.cloudtrace.v1.ListTracesResponse
Modifier and Type | Method and Description |
---|---|
ListTracesResponse.Builder |
addAllTraces(java.lang.Iterable<? extends Trace> values)
List of trace records returned.
|
ListTracesResponse.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ListTracesResponse.Builder |
addTraces(int index,
Trace.Builder builderForValue)
List of trace records returned.
|
ListTracesResponse.Builder |
addTraces(int index,
Trace value)
List of trace records returned.
|
ListTracesResponse.Builder |
addTraces(Trace.Builder builderForValue)
List of trace records returned.
|
ListTracesResponse.Builder |
addTraces(Trace value)
List of trace records returned.
|
Trace.Builder |
addTracesBuilder()
List of trace records returned.
|
Trace.Builder |
addTracesBuilder(int index)
List of trace records returned.
|
ListTracesResponse |
build() |
ListTracesResponse |
buildPartial() |
ListTracesResponse.Builder |
clear() |
ListTracesResponse.Builder |
clearField(Descriptors.FieldDescriptor field) |
ListTracesResponse.Builder |
clearNextPageToken()
If defined, indicates that there are more traces that match the request
and that this value should be passed to the next request to continue
retrieving additional traces.
|
ListTracesResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ListTracesResponse.Builder |
clearTraces()
List of trace records returned.
|
ListTracesResponse.Builder |
clone() |
ListTracesResponse |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getNextPageToken()
If defined, indicates that there are more traces that match the request
and that this value should be passed to the next request to continue
retrieving additional traces.
|
ByteString |
getNextPageTokenBytes()
If defined, indicates that there are more traces that match the request
and that this value should be passed to the next request to continue
retrieving additional traces.
|
Trace |
getTraces(int index)
List of trace records returned.
|
Trace.Builder |
getTracesBuilder(int index)
List of trace records returned.
|
java.util.List<Trace.Builder> |
getTracesBuilderList()
List of trace records returned.
|
int |
getTracesCount()
List of trace records returned.
|
java.util.List<Trace> |
getTracesList()
List of trace records returned.
|
TraceOrBuilder |
getTracesOrBuilder(int index)
List of trace records returned.
|
java.util.List<? extends TraceOrBuilder> |
getTracesOrBuilderList()
List of trace records returned.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListTracesResponse.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ListTracesResponse.Builder |
mergeFrom(ListTracesResponse other) |
ListTracesResponse.Builder |
mergeFrom(Message other) |
ListTracesResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ListTracesResponse.Builder |
removeTraces(int index)
List of trace records returned.
|
ListTracesResponse.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ListTracesResponse.Builder |
setNextPageToken(java.lang.String value)
If defined, indicates that there are more traces that match the request
and that this value should be passed to the next request to continue
retrieving additional traces.
|
ListTracesResponse.Builder |
setNextPageTokenBytes(ByteString value)
If defined, indicates that there are more traces that match the request
and that this value should be passed to the next request to continue
retrieving additional traces.
|
ListTracesResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ListTracesResponse.Builder |
setTraces(int index,
Trace.Builder builderForValue)
List of trace records returned.
|
ListTracesResponse.Builder |
setTraces(int index,
Trace value)
List of trace records returned.
|
ListTracesResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListTracesResponse.Builder>
public ListTracesResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListTracesResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListTracesResponse.Builder>
public ListTracesResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListTracesResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListTracesResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListTracesResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListTracesResponse.Builder>
public ListTracesResponse.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListTracesResponse.Builder>
public ListTracesResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListTracesResponse.Builder>
public ListTracesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListTracesResponse.Builder>
public ListTracesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListTracesResponse.Builder>
public ListTracesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListTracesResponse.Builder>
public ListTracesResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListTracesResponse.Builder>
public ListTracesResponse.Builder mergeFrom(ListTracesResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListTracesResponse.Builder>
public ListTracesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListTracesResponse.Builder>
java.io.IOException
public java.util.List<Trace> getTracesList()
List of trace records returned.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
getTracesList
in interface ListTracesResponseOrBuilder
public int getTracesCount()
List of trace records returned.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
getTracesCount
in interface ListTracesResponseOrBuilder
public Trace getTraces(int index)
List of trace records returned.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
getTraces
in interface ListTracesResponseOrBuilder
public ListTracesResponse.Builder setTraces(int index, Trace value)
List of trace records returned.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public ListTracesResponse.Builder setTraces(int index, Trace.Builder builderForValue)
List of trace records returned.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public ListTracesResponse.Builder addTraces(Trace value)
List of trace records returned.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public ListTracesResponse.Builder addTraces(int index, Trace value)
List of trace records returned.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public ListTracesResponse.Builder addTraces(Trace.Builder builderForValue)
List of trace records returned.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public ListTracesResponse.Builder addTraces(int index, Trace.Builder builderForValue)
List of trace records returned.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public ListTracesResponse.Builder addAllTraces(java.lang.Iterable<? extends Trace> values)
List of trace records returned.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public ListTracesResponse.Builder clearTraces()
List of trace records returned.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public ListTracesResponse.Builder removeTraces(int index)
List of trace records returned.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public Trace.Builder getTracesBuilder(int index)
List of trace records returned.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public TraceOrBuilder getTracesOrBuilder(int index)
List of trace records returned.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
getTracesOrBuilder
in interface ListTracesResponseOrBuilder
public java.util.List<? extends TraceOrBuilder> getTracesOrBuilderList()
List of trace records returned.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
getTracesOrBuilderList
in interface ListTracesResponseOrBuilder
public Trace.Builder addTracesBuilder()
List of trace records returned.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public Trace.Builder addTracesBuilder(int index)
List of trace records returned.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public java.util.List<Trace.Builder> getTracesBuilderList()
List of trace records returned.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public java.lang.String getNextPageToken()
If defined, indicates that there are more traces that match the request and that this value should be passed to the next request to continue retrieving additional traces.
string next_page_token = 2;
getNextPageToken
in interface ListTracesResponseOrBuilder
public ByteString getNextPageTokenBytes()
If defined, indicates that there are more traces that match the request and that this value should be passed to the next request to continue retrieving additional traces.
string next_page_token = 2;
getNextPageTokenBytes
in interface ListTracesResponseOrBuilder
public ListTracesResponse.Builder setNextPageToken(java.lang.String value)
If defined, indicates that there are more traces that match the request and that this value should be passed to the next request to continue retrieving additional traces.
string next_page_token = 2;
public ListTracesResponse.Builder clearNextPageToken()
If defined, indicates that there are more traces that match the request and that this value should be passed to the next request to continue retrieving additional traces.
string next_page_token = 2;
public ListTracesResponse.Builder setNextPageTokenBytes(ByteString value)
If defined, indicates that there are more traces that match the request and that this value should be passed to the next request to continue retrieving additional traces.
string next_page_token = 2;
public final ListTracesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListTracesResponse.Builder>
public final ListTracesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListTracesResponse.Builder>