public static final class WorkloadConfig.Builder extends GeneratedMessageV3.Builder<WorkloadConfig.Builder> implements WorkloadConfigOrBuilder
WorkloadConfig defines the flags to enable or disable the
workload configurations for the cluster.
Protobuf type google.container.v1beta1.WorkloadConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 WorkloadConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public WorkloadConfig build()
buildPartial()
public WorkloadConfig buildPartial()
clear()
public WorkloadConfig.Builder clear()
Overrides
clearAuditMode()
public WorkloadConfig.Builder clearAuditMode()
Sets which mode of auditing should be used for the cluster's workloads.
optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1;
clearField(Descriptors.FieldDescriptor field)
public WorkloadConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public WorkloadConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public WorkloadConfig.Builder clone()
Overrides
getAuditMode()
public WorkloadConfig.Mode getAuditMode()
Sets which mode of auditing should be used for the cluster's workloads.
optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1;
getAuditModeValue()
public int getAuditModeValue()
Sets which mode of auditing should be used for the cluster's workloads.
optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for auditMode.
|
getDefaultInstanceForType()
public WorkloadConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
hasAuditMode()
public boolean hasAuditMode()
Sets which mode of auditing should be used for the cluster's workloads.
optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1;
Returns |
---|
Type | Description |
boolean | Whether the auditMode field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(WorkloadConfig other)
public WorkloadConfig.Builder mergeFrom(WorkloadConfig other)
public WorkloadConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public WorkloadConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WorkloadConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAuditMode(WorkloadConfig.Mode value)
public WorkloadConfig.Builder setAuditMode(WorkloadConfig.Mode value)
Sets which mode of auditing should be used for the cluster's workloads.
optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1;
setAuditModeValue(int value)
public WorkloadConfig.Builder setAuditModeValue(int value)
Sets which mode of auditing should be used for the cluster's workloads.
optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for auditMode to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public WorkloadConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WorkloadConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final WorkloadConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides