Class DeleteLogMetricRequest (3.9.0)

public final class DeleteLogMetricRequest extends GeneratedMessageV3 implements DeleteLogMetricRequestOrBuilder

The parameters to DeleteLogMetric.

Protobuf type google.logging.v2.DeleteLogMetricRequest

Static Fields

METRIC_NAME_FIELD_NUMBER

public static final int METRIC_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DeleteLogMetricRequest getDefaultInstance()
Returns
TypeDescription
DeleteLogMetricRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DeleteLogMetricRequest.Builder newBuilder()
Returns
TypeDescription
DeleteLogMetricRequest.Builder

newBuilder(DeleteLogMetricRequest prototype)

public static DeleteLogMetricRequest.Builder newBuilder(DeleteLogMetricRequest prototype)
Parameter
NameDescription
prototypeDeleteLogMetricRequest
Returns
TypeDescription
DeleteLogMetricRequest.Builder

parseDelimitedFrom(InputStream input)

public static DeleteLogMetricRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DeleteLogMetricRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeleteLogMetricRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteLogMetricRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DeleteLogMetricRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DeleteLogMetricRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DeleteLogMetricRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteLogMetricRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DeleteLogMetricRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DeleteLogMetricRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DeleteLogMetricRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteLogMetricRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DeleteLogMetricRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DeleteLogMetricRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DeleteLogMetricRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteLogMetricRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DeleteLogMetricRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DeleteLogMetricRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeleteLogMetricRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteLogMetricRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DeleteLogMetricRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DeleteLogMetricRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DeleteLogMetricRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteLogMetricRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DeleteLogMetricRequest> parser()
Returns
TypeDescription
Parser<DeleteLogMetricRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DeleteLogMetricRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteLogMetricRequest

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) = { ... }

Returns
TypeDescription
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) = { ... }

Returns
TypeDescription
ByteString

The bytes for metricName.

getParserForType()

public Parser<DeleteLogMetricRequest> getParserForType()
Returns
TypeDescription
Parser<DeleteLogMetricRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DeleteLogMetricRequest.Builder newBuilderForType()
Returns
TypeDescription
DeleteLogMetricRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DeleteLogMetricRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DeleteLogMetricRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DeleteLogMetricRequest.Builder toBuilder()
Returns
TypeDescription
DeleteLogMetricRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException