public static final class DeleteLogMetricRequest.Builder extends GeneratedMessageV3.Builder<DeleteLogMetricRequest.Builder> implements DeleteLogMetricRequestOrBuilder
The parameters to DeleteLogMetric.
Protobuf type google.logging.v2.DeleteLogMetricRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeleteLogMetricRequest.BuilderImplements
DeleteLogMetricRequestOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeleteLogMetricRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DeleteLogMetricRequest.Builder |
build()
public DeleteLogMetricRequest build()
Type | Description |
DeleteLogMetricRequest |
buildPartial()
public DeleteLogMetricRequest buildPartial()
Type | Description |
DeleteLogMetricRequest |
clear()
public DeleteLogMetricRequest.Builder clear()
Type | Description |
DeleteLogMetricRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public DeleteLogMetricRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DeleteLogMetricRequest.Builder |
clearMetricName()
public DeleteLogMetricRequest.Builder clearMetricName()
Required. The resource name of the metric to delete: "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
string metric_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
DeleteLogMetricRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeleteLogMetricRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DeleteLogMetricRequest.Builder |
clone()
public DeleteLogMetricRequest.Builder clone()
Type | Description |
DeleteLogMetricRequest.Builder |
getDefaultInstanceForType()
public DeleteLogMetricRequest getDefaultInstanceForType()
Type | Description |
DeleteLogMetricRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMetricName()
public String getMetricName()
Required. The resource name of the metric to delete: "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
string metric_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The metricName. |
getMetricNameBytes()
public ByteString getMetricNameBytes()
Required. The resource name of the metric to delete: "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
string metric_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for metricName. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(DeleteLogMetricRequest other)
public DeleteLogMetricRequest.Builder mergeFrom(DeleteLogMetricRequest other)
Name | Description |
other | DeleteLogMetricRequest |
Type | Description |
DeleteLogMetricRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteLogMetricRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DeleteLogMetricRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DeleteLogMetricRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DeleteLogMetricRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeleteLogMetricRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeleteLogMetricRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DeleteLogMetricRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DeleteLogMetricRequest.Builder |
setMetricName(String value)
public DeleteLogMetricRequest.Builder setMetricName(String value)
Required. The resource name of the metric to delete: "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
string metric_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The metricName to set. |
Type | Description |
DeleteLogMetricRequest.Builder | This builder for chaining. |
setMetricNameBytes(ByteString value)
public DeleteLogMetricRequest.Builder setMetricNameBytes(ByteString value)
Required. The resource name of the metric to delete: "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
string metric_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for metricName to set. |
Type | Description |
DeleteLogMetricRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeleteLogMetricRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DeleteLogMetricRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeleteLogMetricRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeleteLogMetricRequest.Builder |