public final class GetLogMetricRequest extends GeneratedMessageV3 implements GetLogMetricRequestOrBuilder
The parameters to GetLogMetric.
Protobuf type google.logging.v2.GetLogMetricRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GetLogMetricRequestImplements
GetLogMetricRequestOrBuilderFields
METRIC_NAME_FIELD_NUMBER
public static final int METRIC_NAME_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstance()
public static GetLogMetricRequest getDefaultInstance()
Type | Description |
GetLogMetricRequest |
getDefaultInstanceForType()
public GetLogMetricRequest getDefaultInstanceForType()
Type | Description |
GetLogMetricRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getMetricName()
public String getMetricName()
Required. The resource name of the desired metric: "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 desired metric: "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. |
getParserForType()
public Parser<GetLogMetricRequest> getParserForType()
Type | Description |
Parser<GetLogMetricRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static GetLogMetricRequest.Builder newBuilder()
Type | Description |
GetLogMetricRequest.Builder |
newBuilder(GetLogMetricRequest prototype)
public static GetLogMetricRequest.Builder newBuilder(GetLogMetricRequest prototype)
Name | Description |
prototype | GetLogMetricRequest |
Type | Description |
GetLogMetricRequest.Builder |
newBuilderForType()
public GetLogMetricRequest.Builder newBuilderForType()
Type | Description |
GetLogMetricRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GetLogMetricRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
GetLogMetricRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static GetLogMetricRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
GetLogMetricRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GetLogMetricRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetLogMetricRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static GetLogMetricRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
GetLogMetricRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GetLogMetricRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetLogMetricRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static GetLogMetricRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
GetLogMetricRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GetLogMetricRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetLogMetricRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static GetLogMetricRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
GetLogMetricRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GetLogMetricRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetLogMetricRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static GetLogMetricRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
GetLogMetricRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GetLogMetricRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetLogMetricRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static GetLogMetricRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
GetLogMetricRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GetLogMetricRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetLogMetricRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<GetLogMetricRequest> parser()
Type | Description |
Parser<GetLogMetricRequest> |
toBuilder()
public GetLogMetricRequest.Builder toBuilder()
Type | Description |
GetLogMetricRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |