public static final class LogsPolicy.CloudLoggingOption.Builder extends GeneratedMessageV3.Builder<LogsPolicy.CloudLoggingOption.Builder> implements LogsPolicy.CloudLoggingOptionOrBuilder
CloudLoggingOption contains additional settings for cloud logging generated
by Batch job.
Protobuf type google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LogsPolicy.CloudLoggingOption.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public LogsPolicy.CloudLoggingOption build()
buildPartial()
public LogsPolicy.CloudLoggingOption buildPartial()
clear()
public LogsPolicy.CloudLoggingOption.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public LogsPolicy.CloudLoggingOption.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public LogsPolicy.CloudLoggingOption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUseGenericTaskMonitoredResource()
public LogsPolicy.CloudLoggingOption.Builder clearUseGenericTaskMonitoredResource()
Optional. Set this flag to true to use generic_task as monitored resource
for Batch job generated cloud logging.
bool use_generic_task_monitored_resource = 1 [(.google.api.field_behavior) = OPTIONAL];
clone()
public LogsPolicy.CloudLoggingOption.Builder clone()
Overrides
getDefaultInstanceForType()
public LogsPolicy.CloudLoggingOption getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUseGenericTaskMonitoredResource()
public boolean getUseGenericTaskMonitoredResource()
Optional. Set this flag to true to use generic_task as monitored resource
for Batch job generated cloud logging.
bool use_generic_task_monitored_resource = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The useGenericTaskMonitoredResource.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(LogsPolicy.CloudLoggingOption other)
public LogsPolicy.CloudLoggingOption.Builder mergeFrom(LogsPolicy.CloudLoggingOption other)
public LogsPolicy.CloudLoggingOption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public LogsPolicy.CloudLoggingOption.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LogsPolicy.CloudLoggingOption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public LogsPolicy.CloudLoggingOption.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LogsPolicy.CloudLoggingOption.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LogsPolicy.CloudLoggingOption.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUseGenericTaskMonitoredResource(boolean value)
public LogsPolicy.CloudLoggingOption.Builder setUseGenericTaskMonitoredResource(boolean value)
Optional. Set this flag to true to use generic_task as monitored resource
for Batch job generated cloud logging.
bool use_generic_task_monitored_resource = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
boolean
The useGenericTaskMonitoredResource to set.
|