public static final class CreateTimeSeriesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateTimeSeriesRequest.Builder> implements CreateTimeSeriesRequestOrBuilder
The `CreateTimeSeries` request.Protobuf type
google.monitoring.v3.CreateTimeSeriesRequest| Modifier and Type | Method and Description |
|---|---|
CreateTimeSeriesRequest.Builder |
addAllTimeSeries(java.lang.Iterable<? extends TimeSeries> values)
The new data to be added to a list of time series.
|
CreateTimeSeriesRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CreateTimeSeriesRequest.Builder |
addTimeSeries(int index,
TimeSeries.Builder builderForValue)
The new data to be added to a list of time series.
|
CreateTimeSeriesRequest.Builder |
addTimeSeries(int index,
TimeSeries value)
The new data to be added to a list of time series.
|
CreateTimeSeriesRequest.Builder |
addTimeSeries(TimeSeries.Builder builderForValue)
The new data to be added to a list of time series.
|
CreateTimeSeriesRequest.Builder |
addTimeSeries(TimeSeries value)
The new data to be added to a list of time series.
|
TimeSeries.Builder |
addTimeSeriesBuilder()
The new data to be added to a list of time series.
|
TimeSeries.Builder |
addTimeSeriesBuilder(int index)
The new data to be added to a list of time series.
|
CreateTimeSeriesRequest |
build() |
CreateTimeSeriesRequest |
buildPartial() |
CreateTimeSeriesRequest.Builder |
clear() |
CreateTimeSeriesRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CreateTimeSeriesRequest.Builder |
clearName()
The project on which to execute the request.
|
CreateTimeSeriesRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CreateTimeSeriesRequest.Builder |
clearTimeSeries()
The new data to be added to a list of time series.
|
CreateTimeSeriesRequest.Builder |
clone() |
CreateTimeSeriesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getName()
The project on which to execute the request.
|
ProjectName |
getNameAsProjectName() |
com.google.protobuf.ByteString |
getNameBytes()
The project on which to execute the request.
|
TimeSeries |
getTimeSeries(int index)
The new data to be added to a list of time series.
|
TimeSeries.Builder |
getTimeSeriesBuilder(int index)
The new data to be added to a list of time series.
|
java.util.List<TimeSeries.Builder> |
getTimeSeriesBuilderList()
The new data to be added to a list of time series.
|
int |
getTimeSeriesCount()
The new data to be added to a list of time series.
|
java.util.List<TimeSeries> |
getTimeSeriesList()
The new data to be added to a list of time series.
|
TimeSeriesOrBuilder |
getTimeSeriesOrBuilder(int index)
The new data to be added to a list of time series.
|
java.util.List<? extends TimeSeriesOrBuilder> |
getTimeSeriesOrBuilderList()
The new data to be added to a list of time series.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CreateTimeSeriesRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CreateTimeSeriesRequest.Builder |
mergeFrom(CreateTimeSeriesRequest other) |
CreateTimeSeriesRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
CreateTimeSeriesRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CreateTimeSeriesRequest.Builder |
removeTimeSeries(int index)
The new data to be added to a list of time series.
|
CreateTimeSeriesRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CreateTimeSeriesRequest.Builder |
setName(java.lang.String value)
The project on which to execute the request.
|
CreateTimeSeriesRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The project on which to execute the request.
|
CreateTimeSeriesRequest.Builder |
setNameWithProjectName(ProjectName value) |
CreateTimeSeriesRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
CreateTimeSeriesRequest.Builder |
setTimeSeries(int index,
TimeSeries.Builder builderForValue)
The new data to be added to a list of time series.
|
CreateTimeSeriesRequest.Builder |
setTimeSeries(int index,
TimeSeries value)
The new data to be added to a list of time series.
|
CreateTimeSeriesRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTimeSeriesRequest.Builder>public CreateTimeSeriesRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTimeSeriesRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTimeSeriesRequest.Builder>public CreateTimeSeriesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CreateTimeSeriesRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CreateTimeSeriesRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CreateTimeSeriesRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTimeSeriesRequest.Builder>public CreateTimeSeriesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTimeSeriesRequest.Builder>public CreateTimeSeriesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTimeSeriesRequest.Builder>public CreateTimeSeriesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTimeSeriesRequest.Builder>public CreateTimeSeriesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTimeSeriesRequest.Builder>public CreateTimeSeriesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTimeSeriesRequest.Builder>public CreateTimeSeriesRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateTimeSeriesRequest.Builder>public CreateTimeSeriesRequest.Builder mergeFrom(CreateTimeSeriesRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTimeSeriesRequest.Builder>public CreateTimeSeriesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateTimeSeriesRequest.Builder>java.io.IOExceptionpublic java.lang.String getName()
The project on which to execute the request. The format is
`"projects/{project_id_or_number}"`.
string name = 3;getName in interface CreateTimeSeriesRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The project on which to execute the request. The format is
`"projects/{project_id_or_number}"`.
string name = 3;getNameBytes in interface CreateTimeSeriesRequestOrBuilderpublic CreateTimeSeriesRequest.Builder setName(java.lang.String value)
The project on which to execute the request. The format is
`"projects/{project_id_or_number}"`.
string name = 3;public CreateTimeSeriesRequest.Builder clearName()
The project on which to execute the request. The format is
`"projects/{project_id_or_number}"`.
string name = 3;public CreateTimeSeriesRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
The project on which to execute the request. The format is
`"projects/{project_id_or_number}"`.
string name = 3;public java.util.List<TimeSeries> getTimeSeriesList()
The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each `TimeSeries` value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.
repeated .google.monitoring.v3.TimeSeries time_series = 2;getTimeSeriesList in interface CreateTimeSeriesRequestOrBuilderpublic int getTimeSeriesCount()
The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each `TimeSeries` value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.
repeated .google.monitoring.v3.TimeSeries time_series = 2;getTimeSeriesCount in interface CreateTimeSeriesRequestOrBuilderpublic TimeSeries getTimeSeries(int index)
The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each `TimeSeries` value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.
repeated .google.monitoring.v3.TimeSeries time_series = 2;getTimeSeries in interface CreateTimeSeriesRequestOrBuilderpublic CreateTimeSeriesRequest.Builder setTimeSeries(int index, TimeSeries value)
The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each `TimeSeries` value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.
repeated .google.monitoring.v3.TimeSeries time_series = 2;public CreateTimeSeriesRequest.Builder setTimeSeries(int index, TimeSeries.Builder builderForValue)
The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each `TimeSeries` value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.
repeated .google.monitoring.v3.TimeSeries time_series = 2;public CreateTimeSeriesRequest.Builder addTimeSeries(TimeSeries value)
The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each `TimeSeries` value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.
repeated .google.monitoring.v3.TimeSeries time_series = 2;public CreateTimeSeriesRequest.Builder addTimeSeries(int index, TimeSeries value)
The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each `TimeSeries` value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.
repeated .google.monitoring.v3.TimeSeries time_series = 2;public CreateTimeSeriesRequest.Builder addTimeSeries(TimeSeries.Builder builderForValue)
The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each `TimeSeries` value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.
repeated .google.monitoring.v3.TimeSeries time_series = 2;public CreateTimeSeriesRequest.Builder addTimeSeries(int index, TimeSeries.Builder builderForValue)
The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each `TimeSeries` value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.
repeated .google.monitoring.v3.TimeSeries time_series = 2;public CreateTimeSeriesRequest.Builder addAllTimeSeries(java.lang.Iterable<? extends TimeSeries> values)
The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each `TimeSeries` value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.
repeated .google.monitoring.v3.TimeSeries time_series = 2;public CreateTimeSeriesRequest.Builder clearTimeSeries()
The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each `TimeSeries` value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.
repeated .google.monitoring.v3.TimeSeries time_series = 2;public CreateTimeSeriesRequest.Builder removeTimeSeries(int index)
The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each `TimeSeries` value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.
repeated .google.monitoring.v3.TimeSeries time_series = 2;public TimeSeries.Builder getTimeSeriesBuilder(int index)
The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each `TimeSeries` value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.
repeated .google.monitoring.v3.TimeSeries time_series = 2;public TimeSeriesOrBuilder getTimeSeriesOrBuilder(int index)
The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each `TimeSeries` value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.
repeated .google.monitoring.v3.TimeSeries time_series = 2;getTimeSeriesOrBuilder in interface CreateTimeSeriesRequestOrBuilderpublic java.util.List<? extends TimeSeriesOrBuilder> getTimeSeriesOrBuilderList()
The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each `TimeSeries` value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.
repeated .google.monitoring.v3.TimeSeries time_series = 2;getTimeSeriesOrBuilderList in interface CreateTimeSeriesRequestOrBuilderpublic TimeSeries.Builder addTimeSeriesBuilder()
The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each `TimeSeries` value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.
repeated .google.monitoring.v3.TimeSeries time_series = 2;public TimeSeries.Builder addTimeSeriesBuilder(int index)
The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each `TimeSeries` value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.
repeated .google.monitoring.v3.TimeSeries time_series = 2;public java.util.List<TimeSeries.Builder> getTimeSeriesBuilderList()
The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each `TimeSeries` value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.
repeated .google.monitoring.v3.TimeSeries time_series = 2;public final CreateTimeSeriesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTimeSeriesRequest.Builder>public final CreateTimeSeriesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTimeSeriesRequest.Builder>public final CreateTimeSeriesRequest.Builder setNameWithProjectName(ProjectName value)
public final ProjectName getNameAsProjectName()