public static final class Logging.LoggingDestination.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Logging.LoggingDestination.Builder> implements Logging.LoggingDestinationOrBuilder
Configuration of a specific logging destination (the producer project or the consumer project).Protobuf type
google.api.Logging.LoggingDestination| Modifier and Type | Method and Description |
|---|---|
Logging.LoggingDestination.Builder |
addAllLogs(java.lang.Iterable<java.lang.String> values)
Names of the logs to be sent to this destination.
|
Logging.LoggingDestination.Builder |
addLogs(java.lang.String value)
Names of the logs to be sent to this destination.
|
Logging.LoggingDestination.Builder |
addLogsBytes(com.google.protobuf.ByteString value)
Names of the logs to be sent to this destination.
|
Logging.LoggingDestination.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Logging.LoggingDestination |
build() |
Logging.LoggingDestination |
buildPartial() |
Logging.LoggingDestination.Builder |
clear() |
Logging.LoggingDestination.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Logging.LoggingDestination.Builder |
clearLogs()
Names of the logs to be sent to this destination.
|
Logging.LoggingDestination.Builder |
clearMonitoredResource()
The monitored resource type.
|
Logging.LoggingDestination.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Logging.LoggingDestination.Builder |
clone() |
Logging.LoggingDestination |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getLogs(int index)
Names of the logs to be sent to this destination.
|
com.google.protobuf.ByteString |
getLogsBytes(int index)
Names of the logs to be sent to this destination.
|
int |
getLogsCount()
Names of the logs to be sent to this destination.
|
com.google.protobuf.ProtocolStringList |
getLogsList()
Names of the logs to be sent to this destination.
|
java.lang.String |
getMonitoredResource()
The monitored resource type.
|
com.google.protobuf.ByteString |
getMonitoredResourceBytes()
The monitored resource type.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Logging.LoggingDestination.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Logging.LoggingDestination.Builder |
mergeFrom(Logging.LoggingDestination other) |
Logging.LoggingDestination.Builder |
mergeFrom(com.google.protobuf.Message other) |
Logging.LoggingDestination.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Logging.LoggingDestination.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Logging.LoggingDestination.Builder |
setLogs(int index,
java.lang.String value)
Names of the logs to be sent to this destination.
|
Logging.LoggingDestination.Builder |
setMonitoredResource(java.lang.String value)
The monitored resource type.
|
Logging.LoggingDestination.Builder |
setMonitoredResourceBytes(com.google.protobuf.ByteString value)
The monitored resource type.
|
Logging.LoggingDestination.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Logging.LoggingDestination.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Logging.LoggingDestination.Builder>public Logging.LoggingDestination.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Logging.LoggingDestination.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Logging.LoggingDestination.Builder>public Logging.LoggingDestination getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Logging.LoggingDestination build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Logging.LoggingDestination buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Logging.LoggingDestination.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Logging.LoggingDestination.Builder>public Logging.LoggingDestination.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Logging.LoggingDestination.Builder>public Logging.LoggingDestination.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Logging.LoggingDestination.Builder>public Logging.LoggingDestination.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Logging.LoggingDestination.Builder>public Logging.LoggingDestination.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Logging.LoggingDestination.Builder>public Logging.LoggingDestination.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Logging.LoggingDestination.Builder>public Logging.LoggingDestination.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Logging.LoggingDestination.Builder>public Logging.LoggingDestination.Builder mergeFrom(Logging.LoggingDestination other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Logging.LoggingDestination.Builder>public Logging.LoggingDestination.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Logging.LoggingDestination.Builder>java.io.IOExceptionpublic java.lang.String getMonitoredResource()
The monitored resource type. The type must be defined in the [Service.monitored_resources][google.api.Service.monitored_resources] section.
string monitored_resource = 3;getMonitoredResource in interface Logging.LoggingDestinationOrBuilderpublic com.google.protobuf.ByteString getMonitoredResourceBytes()
The monitored resource type. The type must be defined in the [Service.monitored_resources][google.api.Service.monitored_resources] section.
string monitored_resource = 3;getMonitoredResourceBytes in interface Logging.LoggingDestinationOrBuilderpublic Logging.LoggingDestination.Builder setMonitoredResource(java.lang.String value)
The monitored resource type. The type must be defined in the [Service.monitored_resources][google.api.Service.monitored_resources] section.
string monitored_resource = 3;public Logging.LoggingDestination.Builder clearMonitoredResource()
The monitored resource type. The type must be defined in the [Service.monitored_resources][google.api.Service.monitored_resources] section.
string monitored_resource = 3;public Logging.LoggingDestination.Builder setMonitoredResourceBytes(com.google.protobuf.ByteString value)
The monitored resource type. The type must be defined in the [Service.monitored_resources][google.api.Service.monitored_resources] section.
string monitored_resource = 3;public com.google.protobuf.ProtocolStringList getLogsList()
Names of the logs to be sent to this destination. Each name must be defined in the [Service.logs][google.api.Service.logs] section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/".
repeated string logs = 1;getLogsList in interface Logging.LoggingDestinationOrBuilderpublic int getLogsCount()
Names of the logs to be sent to this destination. Each name must be defined in the [Service.logs][google.api.Service.logs] section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/".
repeated string logs = 1;getLogsCount in interface Logging.LoggingDestinationOrBuilderpublic java.lang.String getLogs(int index)
Names of the logs to be sent to this destination. Each name must be defined in the [Service.logs][google.api.Service.logs] section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/".
repeated string logs = 1;getLogs in interface Logging.LoggingDestinationOrBuilderpublic com.google.protobuf.ByteString getLogsBytes(int index)
Names of the logs to be sent to this destination. Each name must be defined in the [Service.logs][google.api.Service.logs] section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/".
repeated string logs = 1;getLogsBytes in interface Logging.LoggingDestinationOrBuilderpublic Logging.LoggingDestination.Builder setLogs(int index, java.lang.String value)
Names of the logs to be sent to this destination. Each name must be defined in the [Service.logs][google.api.Service.logs] section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/".
repeated string logs = 1;public Logging.LoggingDestination.Builder addLogs(java.lang.String value)
Names of the logs to be sent to this destination. Each name must be defined in the [Service.logs][google.api.Service.logs] section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/".
repeated string logs = 1;public Logging.LoggingDestination.Builder addAllLogs(java.lang.Iterable<java.lang.String> values)
Names of the logs to be sent to this destination. Each name must be defined in the [Service.logs][google.api.Service.logs] section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/".
repeated string logs = 1;public Logging.LoggingDestination.Builder clearLogs()
Names of the logs to be sent to this destination. Each name must be defined in the [Service.logs][google.api.Service.logs] section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/".
repeated string logs = 1;public Logging.LoggingDestination.Builder addLogsBytes(com.google.protobuf.ByteString value)
Names of the logs to be sent to this destination. Each name must be defined in the [Service.logs][google.api.Service.logs] section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/".
repeated string logs = 1;public final Logging.LoggingDestination.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Logging.LoggingDestination.Builder>public final Logging.LoggingDestination.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Logging.LoggingDestination.Builder>