public final class LogDescriptor extends GeneratedMessageV3 implements LogDescriptorOrBuilder
A description of a log type. Example in YAML format:
- name: library.googleapis.com/activity_history
description: The history of borrowing and returning library items.
display_name: Activity
labels:
- key: /customer_id description: Identifier of a library customer
Protobuf type google.api.LogDescriptor
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > LogDescriptorImplements
LogDescriptorOrBuilderInherited Members
Static Fields
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Type | Description |
int |
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Type | Description |
int |
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static LogDescriptor getDefaultInstance()
Type | Description |
LogDescriptor |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static LogDescriptor.Builder newBuilder()
Type | Description |
LogDescriptor.Builder |
newBuilder(LogDescriptor prototype)
public static LogDescriptor.Builder newBuilder(LogDescriptor prototype)
Name | Description |
prototype | LogDescriptor |
Type | Description |
LogDescriptor.Builder |
parseDelimitedFrom(InputStream input)
public static LogDescriptor parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
LogDescriptor |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LogDescriptor parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LogDescriptor |
Type | Description |
IOException |
parseFrom(byte[] data)
public static LogDescriptor parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
LogDescriptor |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LogDescriptor parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LogDescriptor |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static LogDescriptor parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
LogDescriptor |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LogDescriptor parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LogDescriptor |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static LogDescriptor parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
LogDescriptor |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LogDescriptor parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LogDescriptor |
Type | Description |
IOException |
parseFrom(InputStream input)
public static LogDescriptor parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
LogDescriptor |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LogDescriptor parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LogDescriptor |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static LogDescriptor parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
LogDescriptor |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LogDescriptor parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LogDescriptor |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<LogDescriptor> parser()
Type | Description |
Parser<LogDescriptor> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public LogDescriptor getDefaultInstanceForType()
Type | Description |
LogDescriptor |
getDescription()
public String getDescription()
A human-readable description of this log. This information appears in the documentation and can contain details.
string description = 3;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
A human-readable description of this log. This information appears in the documentation and can contain details.
string description = 3;
Type | Description |
ByteString | The bytes for description. |
getDisplayName()
public String getDisplayName()
The human-readable name for this log. This information appears on the user interface and should be concise.
string display_name = 4;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The human-readable name for this log. This information appears on the user interface and should be concise.
string display_name = 4;
Type | Description |
ByteString | The bytes for displayName. |
getLabels(int index)
public LabelDescriptor getLabels(int index)
The set of labels that are available to describe a specific log entry. Runtime requests that contain labels not specified here are considered invalid.
repeated .google.api.LabelDescriptor labels = 2;
Name | Description |
index | int |
Type | Description |
LabelDescriptor |
getLabelsCount()
public int getLabelsCount()
The set of labels that are available to describe a specific log entry. Runtime requests that contain labels not specified here are considered invalid.
repeated .google.api.LabelDescriptor labels = 2;
Type | Description |
int |
getLabelsList()
public List<LabelDescriptor> getLabelsList()
The set of labels that are available to describe a specific log entry. Runtime requests that contain labels not specified here are considered invalid.
repeated .google.api.LabelDescriptor labels = 2;
Type | Description |
List<LabelDescriptor> |
getLabelsOrBuilder(int index)
public LabelDescriptorOrBuilder getLabelsOrBuilder(int index)
The set of labels that are available to describe a specific log entry. Runtime requests that contain labels not specified here are considered invalid.
repeated .google.api.LabelDescriptor labels = 2;
Name | Description |
index | int |
Type | Description |
LabelDescriptorOrBuilder |
getLabelsOrBuilderList()
public List<? extends LabelDescriptorOrBuilder> getLabelsOrBuilderList()
The set of labels that are available to describe a specific log entry. Runtime requests that contain labels not specified here are considered invalid.
repeated .google.api.LabelDescriptor labels = 2;
Type | Description |
List<? extends com.google.api.LabelDescriptorOrBuilder> |
getName()
public String getName()
The name of the log. It must be less than 512 characters long and can include the following characters: upper- and lower-case alphanumeric characters [A-Za-z0-9], and punctuation characters including slash, underscore, hyphen, period [/_-.].
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The name of the log. It must be less than 512 characters long and can include the following characters: upper- and lower-case alphanumeric characters [A-Za-z0-9], and punctuation characters including slash, underscore, hyphen, period [/_-.].
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getParserForType()
public Parser<LogDescriptor> getParserForType()
Type | Description |
Parser<LogDescriptor> |
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 |
newBuilderForType()
public LogDescriptor.Builder newBuilderForType()
Type | Description |
LogDescriptor.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LogDescriptor.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
LogDescriptor.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public LogDescriptor.Builder toBuilder()
Type | Description |
LogDescriptor.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |