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, 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
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Logging.LoggingDestination.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Logging.LoggingDestination.Builder>
public Logging.LoggingDestination getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Logging.LoggingDestination build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Logging.LoggingDestination buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Logging.LoggingDestination.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Logging.LoggingDestination.Builder>
java.io.IOException
public 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.LoggingDestinationOrBuilder
public 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.LoggingDestinationOrBuilder
public 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.LoggingDestinationOrBuilder
public 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.LoggingDestinationOrBuilder
public 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.LoggingDestinationOrBuilder
public 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.LoggingDestinationOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Logging.LoggingDestination.Builder>