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.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()
Returns
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>
|
Returns
public ListTracesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
|
Returns
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;
Parameter
Returns
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
Returns
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;
Parameters
Returns
public Trace.Builder addTracesBuilder()
List of trace records as specified by the view parameter.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Returns
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
Returns
public ListTracesResponse build()
Returns
public ListTracesResponse buildPartial()
Returns
public ListTracesResponse.Builder clear()
Returns
Overrides
public ListTracesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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;
Returns
public ListTracesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListTracesResponse.Builder clearTraces()
List of trace records as specified by the view parameter.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Returns
public ListTracesResponse.Builder clone()
Returns
Overrides
public ListTracesResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
public List<Trace.Builder> getTracesBuilderList()
List of trace records as specified by the view parameter.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Returns
public int getTracesCount()
List of trace records as specified by the view parameter.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Returns
public List<Trace> getTracesList()
List of trace records as specified by the view parameter.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Returns
public TraceOrBuilder getTracesOrBuilder(int index)
List of trace records as specified by the view parameter.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameter
Returns
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()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListTracesResponse.Builder mergeFrom(ListTracesResponse other)
Parameter
Returns
public ListTracesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListTracesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ListTracesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
public ListTracesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
public ListTracesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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;
Parameters
Returns
public final ListTracesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides