Class AcknowledgeViolationResponse.Builder (2.43.0)

public static final class AcknowledgeViolationResponse.Builder extends GeneratedMessageV3.Builder<AcknowledgeViolationResponse.Builder> implements AcknowledgeViolationResponseOrBuilder

Response for violation acknowledgement

Protobuf type google.cloud.assuredworkloads.v1.AcknowledgeViolationResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AcknowledgeViolationResponse build()
Returns
Type Description
AcknowledgeViolationResponse

buildPartial()

public AcknowledgeViolationResponse buildPartial()
Returns
Type Description
AcknowledgeViolationResponse

clear()

public AcknowledgeViolationResponse.Builder clear()
Returns
Type Description
AcknowledgeViolationResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public AcknowledgeViolationResponse.Builder clone()
Returns
Type Description
AcknowledgeViolationResponse.Builder
Overrides

getDefaultInstanceForType()

public AcknowledgeViolationResponse getDefaultInstanceForType()
Returns
Type Description
AcknowledgeViolationResponse

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(AcknowledgeViolationResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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