Class DashboardRequestOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<DashboardRequestOptions,DashboardRequestOptions.Builder>
-
- com.streamlayer.analytics.studio.v1.DashboardRequestOptions.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,DashboardRequestOptionsOrBuilder,java.lang.Cloneable
- Enclosing class:
- DashboardRequestOptions
public static final class DashboardRequestOptions.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<DashboardRequestOptions,DashboardRequestOptions.Builder> implements DashboardRequestOptionsOrBuilder
Protobuf typestreamlayer.analytics.v1.studio.DashboardRequestOptions
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DashboardRequestOptions.BuilderaddAllMetrics(java.lang.Iterable<java.lang.String> values)repeated string metrics = 2 [json_name = "metrics"];DashboardRequestOptions.BuilderaddMetrics(java.lang.String value)repeated string metrics = 2 [json_name = "metrics"];DashboardRequestOptions.BuilderaddMetricsBytes(com.google.protobuf.ByteString value)repeated string metrics = 2 [json_name = "metrics"];DashboardRequestOptions.BuilderclearMetrics()repeated string metrics = 2 [json_name = "metrics"];DashboardRequestOptions.BuilderclearSummaryCount()bool summary_count = 1 [json_name = "summaryCount"];java.lang.StringgetMetrics(int index)repeated string metrics = 2 [json_name = "metrics"];com.google.protobuf.ByteStringgetMetricsBytes(int index)repeated string metrics = 2 [json_name = "metrics"];intgetMetricsCount()repeated string metrics = 2 [json_name = "metrics"];java.util.List<java.lang.String>getMetricsList()repeated string metrics = 2 [json_name = "metrics"];booleangetSummaryCount()bool summary_count = 1 [json_name = "summaryCount"];DashboardRequestOptions.BuildersetMetrics(int index, java.lang.String value)repeated string metrics = 2 [json_name = "metrics"];DashboardRequestOptions.BuildersetSummaryCount(boolean value)bool summary_count = 1 [json_name = "summaryCount"];-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getSummaryCount
public boolean getSummaryCount()
bool summary_count = 1 [json_name = "summaryCount"];- Specified by:
getSummaryCountin interfaceDashboardRequestOptionsOrBuilder- Returns:
- The summaryCount.
-
setSummaryCount
public DashboardRequestOptions.Builder setSummaryCount(boolean value)
bool summary_count = 1 [json_name = "summaryCount"];- Parameters:
value- The summaryCount to set.- Returns:
- This builder for chaining.
-
clearSummaryCount
public DashboardRequestOptions.Builder clearSummaryCount()
bool summary_count = 1 [json_name = "summaryCount"];- Returns:
- This builder for chaining.
-
getMetricsList
public java.util.List<java.lang.String> getMetricsList()
repeated string metrics = 2 [json_name = "metrics"];- Specified by:
getMetricsListin interfaceDashboardRequestOptionsOrBuilder- Returns:
- A list containing the metrics.
-
getMetricsCount
public int getMetricsCount()
repeated string metrics = 2 [json_name = "metrics"];- Specified by:
getMetricsCountin interfaceDashboardRequestOptionsOrBuilder- Returns:
- The count of metrics.
-
getMetrics
public java.lang.String getMetrics(int index)
repeated string metrics = 2 [json_name = "metrics"];- Specified by:
getMetricsin interfaceDashboardRequestOptionsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The metrics at the given index.
-
getMetricsBytes
public com.google.protobuf.ByteString getMetricsBytes(int index)
repeated string metrics = 2 [json_name = "metrics"];- Specified by:
getMetricsBytesin interfaceDashboardRequestOptionsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the metrics at the given index.
-
setMetrics
public DashboardRequestOptions.Builder setMetrics(int index, java.lang.String value)
repeated string metrics = 2 [json_name = "metrics"];- Parameters:
index- The index to set the value at.value- The metrics to set.- Returns:
- This builder for chaining.
-
addMetrics
public DashboardRequestOptions.Builder addMetrics(java.lang.String value)
repeated string metrics = 2 [json_name = "metrics"];- Parameters:
value- The metrics to add.- Returns:
- This builder for chaining.
-
addAllMetrics
public DashboardRequestOptions.Builder addAllMetrics(java.lang.Iterable<java.lang.String> values)
repeated string metrics = 2 [json_name = "metrics"];- Parameters:
values- The metrics to add.- Returns:
- This builder for chaining.
-
clearMetrics
public DashboardRequestOptions.Builder clearMetrics()
repeated string metrics = 2 [json_name = "metrics"];- Returns:
- This builder for chaining.
-
addMetricsBytes
public DashboardRequestOptions.Builder addMetricsBytes(com.google.protobuf.ByteString value)
repeated string metrics = 2 [json_name = "metrics"];- Parameters:
value- The bytes of the metrics to add.- Returns:
- This builder for chaining.
-
-