Class ClientGatewayEventData.Builder (0.15.0)

public static final class ClientGatewayEventData.Builder extends GeneratedMessageV3.Builder<ClientGatewayEventData.Builder> implements ClientGatewayEventDataOrBuilder

The data within all ClientGateway events.

Protobuf type google.events.cloud.beyondcorp.clientgateways.v1.ClientGatewayEventData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ClientGatewayEventData build()
Returns
TypeDescription
ClientGatewayEventData

buildPartial()

public ClientGatewayEventData buildPartial()
Returns
TypeDescription
ClientGatewayEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public ClientGatewayEventData.Builder clearPayload()

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

optional .google.events.cloud.beyondcorp.clientgateways.v1.ClientGateway payload = 1;

Returns
TypeDescription
ClientGatewayEventData.Builder

clone()

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

getDefaultInstanceForType()

public ClientGatewayEventData getDefaultInstanceForType()
Returns
TypeDescription
ClientGatewayEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPayload()

public ClientGateway getPayload()

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

optional .google.events.cloud.beyondcorp.clientgateways.v1.ClientGateway payload = 1;

Returns
TypeDescription
ClientGateway

The payload.

getPayloadBuilder()

public ClientGateway.Builder getPayloadBuilder()

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

optional .google.events.cloud.beyondcorp.clientgateways.v1.ClientGateway payload = 1;

Returns
TypeDescription
ClientGateway.Builder

getPayloadOrBuilder()

public ClientGatewayOrBuilder getPayloadOrBuilder()

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

optional .google.events.cloud.beyondcorp.clientgateways.v1.ClientGateway payload = 1;

Returns
TypeDescription
ClientGatewayOrBuilder

hasPayload()

public boolean hasPayload()

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

optional .google.events.cloud.beyondcorp.clientgateways.v1.ClientGateway 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(ClientGatewayEventData other)

public ClientGatewayEventData.Builder mergeFrom(ClientGatewayEventData other)
Parameter
NameDescription
otherClientGatewayEventData
Returns
TypeDescription
ClientGatewayEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(ClientGateway value)

public ClientGatewayEventData.Builder mergePayload(ClientGateway value)

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

optional .google.events.cloud.beyondcorp.clientgateways.v1.ClientGateway payload = 1;

Parameter
NameDescription
valueClientGateway
Returns
TypeDescription
ClientGatewayEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(ClientGateway value)

public ClientGatewayEventData.Builder setPayload(ClientGateway value)

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

optional .google.events.cloud.beyondcorp.clientgateways.v1.ClientGateway payload = 1;

Parameter
NameDescription
valueClientGateway
Returns
TypeDescription
ClientGatewayEventData.Builder

setPayload(ClientGateway.Builder builderForValue)

public ClientGatewayEventData.Builder setPayload(ClientGateway.Builder builderForValue)

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

optional .google.events.cloud.beyondcorp.clientgateways.v1.ClientGateway payload = 1;

Parameter
NameDescription
builderForValueClientGateway.Builder
Returns
TypeDescription
ClientGatewayEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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