Class AcknowledgeViolationResponse.Builder (2.28.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AcknowledgeViolationResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AcknowledgeViolationResponse.Builder
Overrides

build()

public AcknowledgeViolationResponse build()
Returns
TypeDescription
AcknowledgeViolationResponse

buildPartial()

public AcknowledgeViolationResponse buildPartial()
Returns
TypeDescription
AcknowledgeViolationResponse

clear()

public AcknowledgeViolationResponse.Builder clear()
Returns
TypeDescription
AcknowledgeViolationResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AcknowledgeViolationResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AcknowledgeViolationResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AcknowledgeViolationResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AcknowledgeViolationResponse.Builder
Overrides

clone()

public AcknowledgeViolationResponse.Builder clone()
Returns
TypeDescription
AcknowledgeViolationResponse.Builder
Overrides

getDefaultInstanceForType()

public AcknowledgeViolationResponse getDefaultInstanceForType()
Returns
TypeDescription
AcknowledgeViolationResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AcknowledgeViolationResponse other)

public AcknowledgeViolationResponse.Builder mergeFrom(AcknowledgeViolationResponse other)
Parameter
NameDescription
otherAcknowledgeViolationResponse
Returns
TypeDescription
AcknowledgeViolationResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AcknowledgeViolationResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AcknowledgeViolationResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AcknowledgeViolationResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AcknowledgeViolationResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AcknowledgeViolationResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AcknowledgeViolationResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AcknowledgeViolationResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AcknowledgeViolationResponse.Builder
Overrides

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

public AcknowledgeViolationResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AcknowledgeViolationResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AcknowledgeViolationResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AcknowledgeViolationResponse.Builder
Overrides