Class EndpointPolicyEventData.Builder (0.15.0)

public static final class EndpointPolicyEventData.Builder extends GeneratedMessageV3.Builder<EndpointPolicyEventData.Builder> implements EndpointPolicyEventDataOrBuilder

The data within all EndpointPolicy events.

Protobuf type google.events.cloud.networkservices.v1.EndpointPolicyEventData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EndpointPolicyEventData build()
Returns
Type Description
EndpointPolicyEventData

buildPartial()

public EndpointPolicyEventData buildPartial()
Returns
Type Description
EndpointPolicyEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public EndpointPolicyEventData.Builder clearPayload()

Optional. The EndpointPolicy event payload. Unset for deletion events.

optional .google.events.cloud.networkservices.v1.EndpointPolicy payload = 1;

Returns
Type Description
EndpointPolicyEventData.Builder

clone()

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

getDefaultInstanceForType()

public EndpointPolicyEventData getDefaultInstanceForType()
Returns
Type Description
EndpointPolicyEventData

getDescriptorForType()

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

getPayload()

public EndpointPolicy getPayload()

Optional. The EndpointPolicy event payload. Unset for deletion events.

optional .google.events.cloud.networkservices.v1.EndpointPolicy payload = 1;

Returns
Type Description
EndpointPolicy

The payload.

getPayloadBuilder()

public EndpointPolicy.Builder getPayloadBuilder()

Optional. The EndpointPolicy event payload. Unset for deletion events.

optional .google.events.cloud.networkservices.v1.EndpointPolicy payload = 1;

Returns
Type Description
EndpointPolicy.Builder

getPayloadOrBuilder()

public EndpointPolicyOrBuilder getPayloadOrBuilder()

Optional. The EndpointPolicy event payload. Unset for deletion events.

optional .google.events.cloud.networkservices.v1.EndpointPolicy payload = 1;

Returns
Type Description
EndpointPolicyOrBuilder

hasPayload()

public boolean hasPayload()

Optional. The EndpointPolicy event payload. Unset for deletion events.

optional .google.events.cloud.networkservices.v1.EndpointPolicy payload = 1;

Returns
Type Description
boolean

Whether the payload field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EndpointPolicyEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(EndpointPolicy value)

public EndpointPolicyEventData.Builder mergePayload(EndpointPolicy value)

Optional. The EndpointPolicy event payload. Unset for deletion events.

optional .google.events.cloud.networkservices.v1.EndpointPolicy payload = 1;

Parameter
Name Description
value EndpointPolicy
Returns
Type Description
EndpointPolicyEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(EndpointPolicy value)

public EndpointPolicyEventData.Builder setPayload(EndpointPolicy value)

Optional. The EndpointPolicy event payload. Unset for deletion events.

optional .google.events.cloud.networkservices.v1.EndpointPolicy payload = 1;

Parameter
Name Description
value EndpointPolicy
Returns
Type Description
EndpointPolicyEventData.Builder

setPayload(EndpointPolicy.Builder builderForValue)

public EndpointPolicyEventData.Builder setPayload(EndpointPolicy.Builder builderForValue)

Optional. The EndpointPolicy event payload. Unset for deletion events.

optional .google.events.cloud.networkservices.v1.EndpointPolicy payload = 1;

Parameter
Name Description
builderForValue EndpointPolicy.Builder
Returns
Type Description
EndpointPolicyEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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