public static final class LogDescriptor.Builder extends GeneratedMessageV3.Builder<LogDescriptor.Builder> 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 customerProtobuf type
google.api.LogDescriptor
Modifier and Type | Method and Description |
---|---|
LogDescriptor.Builder |
addAllLabels(java.lang.Iterable<? extends LabelDescriptor> values)
The set of labels that are available to describe a specific log entry.
|
LogDescriptor.Builder |
addLabels(int index,
LabelDescriptor.Builder builderForValue)
The set of labels that are available to describe a specific log entry.
|
LogDescriptor.Builder |
addLabels(int index,
LabelDescriptor value)
The set of labels that are available to describe a specific log entry.
|
LogDescriptor.Builder |
addLabels(LabelDescriptor.Builder builderForValue)
The set of labels that are available to describe a specific log entry.
|
LogDescriptor.Builder |
addLabels(LabelDescriptor value)
The set of labels that are available to describe a specific log entry.
|
LabelDescriptor.Builder |
addLabelsBuilder()
The set of labels that are available to describe a specific log entry.
|
LabelDescriptor.Builder |
addLabelsBuilder(int index)
The set of labels that are available to describe a specific log entry.
|
LogDescriptor.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
LogDescriptor |
build() |
LogDescriptor |
buildPartial() |
LogDescriptor.Builder |
clear() |
LogDescriptor.Builder |
clearDescription()
A human-readable description of this log.
|
LogDescriptor.Builder |
clearDisplayName()
The human-readable name for this log.
|
LogDescriptor.Builder |
clearField(Descriptors.FieldDescriptor field) |
LogDescriptor.Builder |
clearLabels()
The set of labels that are available to describe a specific log entry.
|
LogDescriptor.Builder |
clearName()
The name of the log.
|
LogDescriptor.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
LogDescriptor.Builder |
clone() |
LogDescriptor |
getDefaultInstanceForType() |
java.lang.String |
getDescription()
A human-readable description of this log.
|
ByteString |
getDescriptionBytes()
A human-readable description of this log.
|
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getDisplayName()
The human-readable name for this log.
|
ByteString |
getDisplayNameBytes()
The human-readable name for this log.
|
LabelDescriptor |
getLabels(int index)
The set of labels that are available to describe a specific log entry.
|
LabelDescriptor.Builder |
getLabelsBuilder(int index)
The set of labels that are available to describe a specific log entry.
|
java.util.List<LabelDescriptor.Builder> |
getLabelsBuilderList()
The set of labels that are available to describe a specific log entry.
|
int |
getLabelsCount()
The set of labels that are available to describe a specific log entry.
|
java.util.List<LabelDescriptor> |
getLabelsList()
The set of labels that are available to describe a specific log entry.
|
LabelDescriptorOrBuilder |
getLabelsOrBuilder(int index)
The set of labels that are available to describe a specific log entry.
|
java.util.List<? extends LabelDescriptorOrBuilder> |
getLabelsOrBuilderList()
The set of labels that are available to describe a specific log entry.
|
java.lang.String |
getName()
The name of the log.
|
ByteString |
getNameBytes()
The name of the log.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LogDescriptor.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
LogDescriptor.Builder |
mergeFrom(LogDescriptor other) |
LogDescriptor.Builder |
mergeFrom(Message other) |
LogDescriptor.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
LogDescriptor.Builder |
removeLabels(int index)
The set of labels that are available to describe a specific log entry.
|
LogDescriptor.Builder |
setDescription(java.lang.String value)
A human-readable description of this log.
|
LogDescriptor.Builder |
setDescriptionBytes(ByteString value)
A human-readable description of this log.
|
LogDescriptor.Builder |
setDisplayName(java.lang.String value)
The human-readable name for this log.
|
LogDescriptor.Builder |
setDisplayNameBytes(ByteString value)
The human-readable name for this log.
|
LogDescriptor.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
LogDescriptor.Builder |
setLabels(int index,
LabelDescriptor.Builder builderForValue)
The set of labels that are available to describe a specific log entry.
|
LogDescriptor.Builder |
setLabels(int index,
LabelDescriptor value)
The set of labels that are available to describe a specific log entry.
|
LogDescriptor.Builder |
setName(java.lang.String value)
The name of the log.
|
LogDescriptor.Builder |
setNameBytes(ByteString value)
The name of the log.
|
LogDescriptor.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
LogDescriptor.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<LogDescriptor.Builder>
public LogDescriptor.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<LogDescriptor.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<LogDescriptor.Builder>
public LogDescriptor getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public LogDescriptor build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public LogDescriptor buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public LogDescriptor.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<LogDescriptor.Builder>
public LogDescriptor.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<LogDescriptor.Builder>
public LogDescriptor.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<LogDescriptor.Builder>
public LogDescriptor.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<LogDescriptor.Builder>
public LogDescriptor.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<LogDescriptor.Builder>
public LogDescriptor.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<LogDescriptor.Builder>
public LogDescriptor.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<LogDescriptor.Builder>
public LogDescriptor.Builder mergeFrom(LogDescriptor other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<LogDescriptor.Builder>
public LogDescriptor.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<LogDescriptor.Builder>
java.io.IOException
public java.lang.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;
getName
in interface LogDescriptorOrBuilder
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;
getNameBytes
in interface LogDescriptorOrBuilder
public LogDescriptor.Builder setName(java.lang.String value)
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;
public LogDescriptor.Builder clearName()
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;
public LogDescriptor.Builder setNameBytes(ByteString value)
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;
public java.util.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;
getLabelsList
in interface LogDescriptorOrBuilder
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;
getLabelsCount
in interface LogDescriptorOrBuilder
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;
getLabels
in interface LogDescriptorOrBuilder
public LogDescriptor.Builder setLabels(int index, LabelDescriptor value)
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;
public LogDescriptor.Builder setLabels(int index, LabelDescriptor.Builder builderForValue)
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;
public LogDescriptor.Builder addLabels(LabelDescriptor value)
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;
public LogDescriptor.Builder addLabels(int index, LabelDescriptor value)
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;
public LogDescriptor.Builder addLabels(LabelDescriptor.Builder builderForValue)
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;
public LogDescriptor.Builder addLabels(int index, LabelDescriptor.Builder builderForValue)
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;
public LogDescriptor.Builder addAllLabels(java.lang.Iterable<? extends LabelDescriptor> values)
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;
public LogDescriptor.Builder clearLabels()
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;
public LogDescriptor.Builder removeLabels(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;
public LabelDescriptor.Builder getLabelsBuilder(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;
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;
getLabelsOrBuilder
in interface LogDescriptorOrBuilder
public java.util.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;
getLabelsOrBuilderList
in interface LogDescriptorOrBuilder
public LabelDescriptor.Builder addLabelsBuilder()
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;
public LabelDescriptor.Builder addLabelsBuilder(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;
public java.util.List<LabelDescriptor.Builder> getLabelsBuilderList()
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;
public java.lang.String getDescription()
A human-readable description of this log. This information appears in the documentation and can contain details.
string description = 3;
getDescription
in interface LogDescriptorOrBuilder
public ByteString getDescriptionBytes()
A human-readable description of this log. This information appears in the documentation and can contain details.
string description = 3;
getDescriptionBytes
in interface LogDescriptorOrBuilder
public LogDescriptor.Builder setDescription(java.lang.String value)
A human-readable description of this log. This information appears in the documentation and can contain details.
string description = 3;
public LogDescriptor.Builder clearDescription()
A human-readable description of this log. This information appears in the documentation and can contain details.
string description = 3;
public LogDescriptor.Builder setDescriptionBytes(ByteString value)
A human-readable description of this log. This information appears in the documentation and can contain details.
string description = 3;
public java.lang.String getDisplayName()
The human-readable name for this log. This information appears on the user interface and should be concise.
string display_name = 4;
getDisplayName
in interface LogDescriptorOrBuilder
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;
getDisplayNameBytes
in interface LogDescriptorOrBuilder
public LogDescriptor.Builder setDisplayName(java.lang.String value)
The human-readable name for this log. This information appears on the user interface and should be concise.
string display_name = 4;
public LogDescriptor.Builder clearDisplayName()
The human-readable name for this log. This information appears on the user interface and should be concise.
string display_name = 4;
public LogDescriptor.Builder setDisplayNameBytes(ByteString value)
The human-readable name for this log. This information appears on the user interface and should be concise.
string display_name = 4;
public final LogDescriptor.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<LogDescriptor.Builder>
public final LogDescriptor.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<LogDescriptor.Builder>