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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public ListTracesResponse.Builder addAllTraces(Iterable<? extends Trace> values)
List of trace records as specified by the view parameter.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.devtools.cloudtrace.v1.Trace>
|
public ListTracesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListTracesResponse.Builder addTraces(Trace value)
List of trace records as specified by the view parameter.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameter |
---|
Name | Description |
value | Trace
|
public ListTracesResponse.Builder addTraces(Trace.Builder builderForValue)
List of trace records as specified by the view parameter.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public ListTracesResponse.Builder addTraces(int index, Trace value)
List of trace records as specified by the view parameter.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameters |
---|
Name | Description |
index | int
|
value | Trace
|
public ListTracesResponse.Builder addTraces(int index, Trace.Builder builderForValue)
List of trace records as specified by the view parameter.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public Trace.Builder addTracesBuilder()
List of trace records as specified by the view parameter.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public Trace.Builder addTracesBuilder(int index)
List of trace records as specified by the view parameter.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameter |
---|
Name | Description |
index | int
|
public ListTracesResponse build()
public ListTracesResponse buildPartial()
public ListTracesResponse.Builder clear()
Overrides
public ListTracesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
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 clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListTracesResponse.Builder clearTraces()
List of trace records as specified by the view parameter.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public ListTracesResponse.Builder clone()
Overrides
public ListTracesResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public 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;
Returns |
---|
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
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;
Returns |
---|
Type | Description |
ByteString | The bytes for nextPageToken.
|
public Trace getTraces(int index)
List of trace records as specified by the view parameter.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
Trace | |
public Trace.Builder getTracesBuilder(int index)
List of trace records as specified by the view parameter.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameter |
---|
Name | Description |
index | int
|
public List<Trace.Builder> getTracesBuilderList()
List of trace records as specified by the view parameter.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public int getTracesCount()
List of trace records as specified by the view parameter.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Returns |
---|
Type | Description |
int | |
public List<Trace> getTracesList()
List of trace records as specified by the view parameter.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public TraceOrBuilder getTracesOrBuilder(int index)
List of trace records as specified by the view parameter.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameter |
---|
Name | Description |
index | int
|
public List<? extends TraceOrBuilder> getTracesOrBuilderList()
List of trace records as specified by the view parameter.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Returns |
---|
Type | Description |
List<? extends com.google.devtools.cloudtrace.v1.TraceOrBuilder> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListTracesResponse.Builder mergeFrom(ListTracesResponse other)
public ListTracesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListTracesResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ListTracesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ListTracesResponse.Builder removeTraces(int index)
List of trace records as specified by the view parameter.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameter |
---|
Name | Description |
index | int
|
public ListTracesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListTracesResponse.Builder setNextPageToken(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;
Parameter |
---|
Name | Description |
value | String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
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;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
public ListTracesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public ListTracesResponse.Builder setTraces(int index, Trace value)
List of trace records as specified by the view parameter.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameters |
---|
Name | Description |
index | int
|
value | Trace
|
public ListTracesResponse.Builder setTraces(int index, Trace.Builder builderForValue)
List of trace records as specified by the view parameter.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public final ListTracesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides