Package com.google.api
Class Logging.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Logging.Builder>
-
- com.google.api.Logging.Builder
-
- All Implemented Interfaces:
LoggingOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Logging
public static final class Logging.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Logging.Builder> implements LoggingOrBuilder
Logging configuration of the service. The following example shows how to configure logs to be sent to the producer and consumer projects. In the example, the `activity_history` log is sent to both the producer and consumer projects, whereas the `purchase_history` log is only sent to the producer project. monitored_resources: - type: library.googleapis.com/branch labels: - key: /city description: The city where the library branch is located in. - key: /name description: The name of the branch. logs: - name: activity_history labels: - key: /customer_id - name: purchase_history logging: producer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history - purchase_history consumer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_historyProtobuf typegoogle.api.Logging
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Logging.BuilderaddAllConsumerDestinations(Iterable<? extends Logging.LoggingDestination> values)Logging configurations for sending logs to the consumer project.Logging.BuilderaddAllProducerDestinations(Iterable<? extends Logging.LoggingDestination> values)Logging configurations for sending logs to the producer project.Logging.BuilderaddConsumerDestinations(int index, Logging.LoggingDestination value)Logging configurations for sending logs to the consumer project.Logging.BuilderaddConsumerDestinations(int index, Logging.LoggingDestination.Builder builderForValue)Logging configurations for sending logs to the consumer project.Logging.BuilderaddConsumerDestinations(Logging.LoggingDestination value)Logging configurations for sending logs to the consumer project.Logging.BuilderaddConsumerDestinations(Logging.LoggingDestination.Builder builderForValue)Logging configurations for sending logs to the consumer project.Logging.LoggingDestination.BuilderaddConsumerDestinationsBuilder()Logging configurations for sending logs to the consumer project.Logging.LoggingDestination.BuilderaddConsumerDestinationsBuilder(int index)Logging configurations for sending logs to the consumer project.Logging.BuilderaddProducerDestinations(int index, Logging.LoggingDestination value)Logging configurations for sending logs to the producer project.Logging.BuilderaddProducerDestinations(int index, Logging.LoggingDestination.Builder builderForValue)Logging configurations for sending logs to the producer project.Logging.BuilderaddProducerDestinations(Logging.LoggingDestination value)Logging configurations for sending logs to the producer project.Logging.BuilderaddProducerDestinations(Logging.LoggingDestination.Builder builderForValue)Logging configurations for sending logs to the producer project.Logging.LoggingDestination.BuilderaddProducerDestinationsBuilder()Logging configurations for sending logs to the producer project.Logging.LoggingDestination.BuilderaddProducerDestinationsBuilder(int index)Logging configurations for sending logs to the producer project.Logging.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Loggingbuild()LoggingbuildPartial()Logging.Builderclear()Logging.BuilderclearConsumerDestinations()Logging configurations for sending logs to the consumer project.Logging.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Logging.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Logging.BuilderclearProducerDestinations()Logging configurations for sending logs to the producer project.Logging.Builderclone()Logging.LoggingDestinationgetConsumerDestinations(int index)Logging configurations for sending logs to the consumer project.Logging.LoggingDestination.BuildergetConsumerDestinationsBuilder(int index)Logging configurations for sending logs to the consumer project.List<Logging.LoggingDestination.Builder>getConsumerDestinationsBuilderList()Logging configurations for sending logs to the consumer project.intgetConsumerDestinationsCount()Logging configurations for sending logs to the consumer project.List<Logging.LoggingDestination>getConsumerDestinationsList()Logging configurations for sending logs to the consumer project.Logging.LoggingDestinationOrBuildergetConsumerDestinationsOrBuilder(int index)Logging configurations for sending logs to the consumer project.List<? extends Logging.LoggingDestinationOrBuilder>getConsumerDestinationsOrBuilderList()Logging configurations for sending logs to the consumer project.LogginggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Logging.LoggingDestinationgetProducerDestinations(int index)Logging configurations for sending logs to the producer project.Logging.LoggingDestination.BuildergetProducerDestinationsBuilder(int index)Logging configurations for sending logs to the producer project.List<Logging.LoggingDestination.Builder>getProducerDestinationsBuilderList()Logging configurations for sending logs to the producer project.intgetProducerDestinationsCount()Logging configurations for sending logs to the producer project.List<Logging.LoggingDestination>getProducerDestinationsList()Logging configurations for sending logs to the producer project.Logging.LoggingDestinationOrBuildergetProducerDestinationsOrBuilder(int index)Logging configurations for sending logs to the producer project.List<? extends Logging.LoggingDestinationOrBuilder>getProducerDestinationsOrBuilderList()Logging configurations for sending logs to the producer project.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Logging.BuildermergeFrom(Logging other)Logging.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Logging.BuildermergeFrom(com.google.protobuf.Message other)Logging.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Logging.BuilderremoveConsumerDestinations(int index)Logging configurations for sending logs to the consumer project.Logging.BuilderremoveProducerDestinations(int index)Logging configurations for sending logs to the producer project.Logging.BuildersetConsumerDestinations(int index, Logging.LoggingDestination value)Logging configurations for sending logs to the consumer project.Logging.BuildersetConsumerDestinations(int index, Logging.LoggingDestination.Builder builderForValue)Logging configurations for sending logs to the consumer project.Logging.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Logging.BuildersetProducerDestinations(int index, Logging.LoggingDestination value)Logging configurations for sending logs to the producer project.Logging.BuildersetProducerDestinations(int index, Logging.LoggingDestination.Builder builderForValue)Logging configurations for sending logs to the producer project.Logging.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Logging.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Logging.Builder>
-
clear
public Logging.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Logging.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Logging.Builder>
-
getDefaultInstanceForType
public Logging getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Logging build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Logging buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Logging.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Logging.Builder>
-
setField
public Logging.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Logging.Builder>
-
clearField
public Logging.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Logging.Builder>
-
clearOneof
public Logging.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Logging.Builder>
-
setRepeatedField
public Logging.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Logging.Builder>
-
addRepeatedField
public Logging.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Logging.Builder>
-
mergeFrom
public Logging.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Logging.Builder>
-
mergeFrom
public Logging.Builder mergeFrom(Logging other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Logging.Builder>
-
mergeFrom
public Logging.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Logging.Builder>- Throws:
IOException
-
getProducerDestinationsList
public List<Logging.LoggingDestination> getProducerDestinationsList()
Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.
repeated .google.api.Logging.LoggingDestination producer_destinations = 1;- Specified by:
getProducerDestinationsListin interfaceLoggingOrBuilder
-
getProducerDestinationsCount
public int getProducerDestinationsCount()
Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.
repeated .google.api.Logging.LoggingDestination producer_destinations = 1;- Specified by:
getProducerDestinationsCountin interfaceLoggingOrBuilder
-
getProducerDestinations
public Logging.LoggingDestination getProducerDestinations(int index)
Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.
repeated .google.api.Logging.LoggingDestination producer_destinations = 1;- Specified by:
getProducerDestinationsin interfaceLoggingOrBuilder
-
setProducerDestinations
public Logging.Builder setProducerDestinations(int index, Logging.LoggingDestination value)
Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.
repeated .google.api.Logging.LoggingDestination producer_destinations = 1;
-
setProducerDestinations
public Logging.Builder setProducerDestinations(int index, Logging.LoggingDestination.Builder builderForValue)
Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.
repeated .google.api.Logging.LoggingDestination producer_destinations = 1;
-
addProducerDestinations
public Logging.Builder addProducerDestinations(Logging.LoggingDestination value)
Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.
repeated .google.api.Logging.LoggingDestination producer_destinations = 1;
-
addProducerDestinations
public Logging.Builder addProducerDestinations(int index, Logging.LoggingDestination value)
Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.
repeated .google.api.Logging.LoggingDestination producer_destinations = 1;
-
addProducerDestinations
public Logging.Builder addProducerDestinations(Logging.LoggingDestination.Builder builderForValue)
Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.
repeated .google.api.Logging.LoggingDestination producer_destinations = 1;
-
addProducerDestinations
public Logging.Builder addProducerDestinations(int index, Logging.LoggingDestination.Builder builderForValue)
Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.
repeated .google.api.Logging.LoggingDestination producer_destinations = 1;
-
addAllProducerDestinations
public Logging.Builder addAllProducerDestinations(Iterable<? extends Logging.LoggingDestination> values)
Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.
repeated .google.api.Logging.LoggingDestination producer_destinations = 1;
-
clearProducerDestinations
public Logging.Builder clearProducerDestinations()
Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.
repeated .google.api.Logging.LoggingDestination producer_destinations = 1;
-
removeProducerDestinations
public Logging.Builder removeProducerDestinations(int index)
Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.
repeated .google.api.Logging.LoggingDestination producer_destinations = 1;
-
getProducerDestinationsBuilder
public Logging.LoggingDestination.Builder getProducerDestinationsBuilder(int index)
Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.
repeated .google.api.Logging.LoggingDestination producer_destinations = 1;
-
getProducerDestinationsOrBuilder
public Logging.LoggingDestinationOrBuilder getProducerDestinationsOrBuilder(int index)
Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.
repeated .google.api.Logging.LoggingDestination producer_destinations = 1;- Specified by:
getProducerDestinationsOrBuilderin interfaceLoggingOrBuilder
-
getProducerDestinationsOrBuilderList
public List<? extends Logging.LoggingDestinationOrBuilder> getProducerDestinationsOrBuilderList()
Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.
repeated .google.api.Logging.LoggingDestination producer_destinations = 1;- Specified by:
getProducerDestinationsOrBuilderListin interfaceLoggingOrBuilder
-
addProducerDestinationsBuilder
public Logging.LoggingDestination.Builder addProducerDestinationsBuilder()
Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.
repeated .google.api.Logging.LoggingDestination producer_destinations = 1;
-
addProducerDestinationsBuilder
public Logging.LoggingDestination.Builder addProducerDestinationsBuilder(int index)
Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.
repeated .google.api.Logging.LoggingDestination producer_destinations = 1;
-
getProducerDestinationsBuilderList
public List<Logging.LoggingDestination.Builder> getProducerDestinationsBuilderList()
Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.
repeated .google.api.Logging.LoggingDestination producer_destinations = 1;
-
getConsumerDestinationsList
public List<Logging.LoggingDestination> getConsumerDestinationsList()
Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.
repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;- Specified by:
getConsumerDestinationsListin interfaceLoggingOrBuilder
-
getConsumerDestinationsCount
public int getConsumerDestinationsCount()
Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.
repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;- Specified by:
getConsumerDestinationsCountin interfaceLoggingOrBuilder
-
getConsumerDestinations
public Logging.LoggingDestination getConsumerDestinations(int index)
Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.
repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;- Specified by:
getConsumerDestinationsin interfaceLoggingOrBuilder
-
setConsumerDestinations
public Logging.Builder setConsumerDestinations(int index, Logging.LoggingDestination value)
Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.
repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;
-
setConsumerDestinations
public Logging.Builder setConsumerDestinations(int index, Logging.LoggingDestination.Builder builderForValue)
Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.
repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;
-
addConsumerDestinations
public Logging.Builder addConsumerDestinations(Logging.LoggingDestination value)
Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.
repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;
-
addConsumerDestinations
public Logging.Builder addConsumerDestinations(int index, Logging.LoggingDestination value)
Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.
repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;
-
addConsumerDestinations
public Logging.Builder addConsumerDestinations(Logging.LoggingDestination.Builder builderForValue)
Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.
repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;
-
addConsumerDestinations
public Logging.Builder addConsumerDestinations(int index, Logging.LoggingDestination.Builder builderForValue)
Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.
repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;
-
addAllConsumerDestinations
public Logging.Builder addAllConsumerDestinations(Iterable<? extends Logging.LoggingDestination> values)
Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.
repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;
-
clearConsumerDestinations
public Logging.Builder clearConsumerDestinations()
Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.
repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;
-
removeConsumerDestinations
public Logging.Builder removeConsumerDestinations(int index)
Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.
repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;
-
getConsumerDestinationsBuilder
public Logging.LoggingDestination.Builder getConsumerDestinationsBuilder(int index)
Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.
repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;
-
getConsumerDestinationsOrBuilder
public Logging.LoggingDestinationOrBuilder getConsumerDestinationsOrBuilder(int index)
Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.
repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;- Specified by:
getConsumerDestinationsOrBuilderin interfaceLoggingOrBuilder
-
getConsumerDestinationsOrBuilderList
public List<? extends Logging.LoggingDestinationOrBuilder> getConsumerDestinationsOrBuilderList()
Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.
repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;- Specified by:
getConsumerDestinationsOrBuilderListin interfaceLoggingOrBuilder
-
addConsumerDestinationsBuilder
public Logging.LoggingDestination.Builder addConsumerDestinationsBuilder()
Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.
repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;
-
addConsumerDestinationsBuilder
public Logging.LoggingDestination.Builder addConsumerDestinationsBuilder(int index)
Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.
repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;
-
getConsumerDestinationsBuilderList
public List<Logging.LoggingDestination.Builder> getConsumerDestinationsBuilderList()
Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.
repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;
-
setUnknownFields
public final Logging.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Logging.Builder>
-
mergeUnknownFields
public final Logging.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Logging.Builder>
-
-