Class LogsPolicy.CloudLoggingOption.Builder (0.31.0)

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.v1.LogsPolicy.CloudLoggingOption

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LogsPolicy.CloudLoggingOption.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LogsPolicy.CloudLoggingOption.Builder
Overrides

build()

public LogsPolicy.CloudLoggingOption build()
Returns
Type Description
LogsPolicy.CloudLoggingOption

buildPartial()

public LogsPolicy.CloudLoggingOption buildPartial()
Returns
Type Description
LogsPolicy.CloudLoggingOption

clear()

public LogsPolicy.CloudLoggingOption.Builder clear()
Returns
Type Description
LogsPolicy.CloudLoggingOption.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public LogsPolicy.CloudLoggingOption.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LogsPolicy.CloudLoggingOption.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public LogsPolicy.CloudLoggingOption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LogsPolicy.CloudLoggingOption.Builder
Overrides

clone()

public LogsPolicy.CloudLoggingOption.Builder clone()
Returns
Type Description
LogsPolicy.CloudLoggingOption.Builder
Overrides

getDefaultInstanceForType()

public LogsPolicy.CloudLoggingOption getDefaultInstanceForType()
Returns
Type Description
LogsPolicy.CloudLoggingOption

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LogsPolicy.CloudLoggingOption other)

public LogsPolicy.CloudLoggingOption.Builder mergeFrom(LogsPolicy.CloudLoggingOption other)
Parameter
Name Description
other LogsPolicy.CloudLoggingOption
Returns
Type Description
LogsPolicy.CloudLoggingOption.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LogsPolicy.CloudLoggingOption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LogsPolicy.CloudLoggingOption.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LogsPolicy.CloudLoggingOption.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LogsPolicy.CloudLoggingOption.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LogsPolicy.CloudLoggingOption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LogsPolicy.CloudLoggingOption.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public LogsPolicy.CloudLoggingOption.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LogsPolicy.CloudLoggingOption.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LogsPolicy.CloudLoggingOption.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LogsPolicy.CloudLoggingOption.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LogsPolicy.CloudLoggingOption.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LogsPolicy.CloudLoggingOption.Builder
Overrides