Class ServiceConnectionPolicyEventData.Builder (0.14.1)

public static final class ServiceConnectionPolicyEventData.Builder extends GeneratedMessageV3.Builder<ServiceConnectionPolicyEventData.Builder> implements ServiceConnectionPolicyEventDataOrBuilder

The data within all ServiceConnectionPolicy events.

Protobuf type google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicyEventData

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ServiceConnectionPolicyEventData build()
Returns
TypeDescription
ServiceConnectionPolicyEventData

buildPartial()

public ServiceConnectionPolicyEventData buildPartial()
Returns
TypeDescription
ServiceConnectionPolicyEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public ServiceConnectionPolicyEventData.Builder clearPayload()

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

optional .google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy payload = 1;

Returns
TypeDescription
ServiceConnectionPolicyEventData.Builder

clone()

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

getDefaultInstanceForType()

public ServiceConnectionPolicyEventData getDefaultInstanceForType()
Returns
TypeDescription
ServiceConnectionPolicyEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPayload()

public ServiceConnectionPolicy getPayload()

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

optional .google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy payload = 1;

Returns
TypeDescription
ServiceConnectionPolicy

The payload.

getPayloadBuilder()

public ServiceConnectionPolicy.Builder getPayloadBuilder()

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

optional .google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy payload = 1;

Returns
TypeDescription
ServiceConnectionPolicy.Builder

getPayloadOrBuilder()

public ServiceConnectionPolicyOrBuilder getPayloadOrBuilder()

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

optional .google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy payload = 1;

Returns
TypeDescription
ServiceConnectionPolicyOrBuilder

hasPayload()

public boolean hasPayload()

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

optional .google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy payload = 1;

Returns
TypeDescription
boolean

Whether the payload field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ServiceConnectionPolicyEventData other)

public ServiceConnectionPolicyEventData.Builder mergeFrom(ServiceConnectionPolicyEventData other)
Parameter
NameDescription
otherServiceConnectionPolicyEventData
Returns
TypeDescription
ServiceConnectionPolicyEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(ServiceConnectionPolicy value)

public ServiceConnectionPolicyEventData.Builder mergePayload(ServiceConnectionPolicy value)

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

optional .google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy payload = 1;

Parameter
NameDescription
valueServiceConnectionPolicy
Returns
TypeDescription
ServiceConnectionPolicyEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(ServiceConnectionPolicy value)

public ServiceConnectionPolicyEventData.Builder setPayload(ServiceConnectionPolicy value)

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

optional .google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy payload = 1;

Parameter
NameDescription
valueServiceConnectionPolicy
Returns
TypeDescription
ServiceConnectionPolicyEventData.Builder

setPayload(ServiceConnectionPolicy.Builder builderForValue)

public ServiceConnectionPolicyEventData.Builder setPayload(ServiceConnectionPolicy.Builder builderForValue)

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

optional .google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy payload = 1;

Parameter
NameDescription
builderForValueServiceConnectionPolicy.Builder
Returns
TypeDescription
ServiceConnectionPolicyEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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