Class MembershipBindingEventData.Builder (0.15.0)

public static final class MembershipBindingEventData.Builder extends GeneratedMessageV3.Builder<MembershipBindingEventData.Builder> implements MembershipBindingEventDataOrBuilder

The data within all MembershipBinding events.

Protobuf type google.events.cloud.gkehub.v1.MembershipBindingEventData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MembershipBindingEventData build()
Returns
Type Description
MembershipBindingEventData

buildPartial()

public MembershipBindingEventData buildPartial()
Returns
Type Description
MembershipBindingEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public MembershipBindingEventData.Builder clearPayload()

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

optional .google.events.cloud.gkehub.v1.MembershipBinding payload = 1;

Returns
Type Description
MembershipBindingEventData.Builder

clone()

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

getDefaultInstanceForType()

public MembershipBindingEventData getDefaultInstanceForType()
Returns
Type Description
MembershipBindingEventData

getDescriptorForType()

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

getPayload()

public MembershipBinding getPayload()

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

optional .google.events.cloud.gkehub.v1.MembershipBinding payload = 1;

Returns
Type Description
MembershipBinding

The payload.

getPayloadBuilder()

public MembershipBinding.Builder getPayloadBuilder()

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

optional .google.events.cloud.gkehub.v1.MembershipBinding payload = 1;

Returns
Type Description
MembershipBinding.Builder

getPayloadOrBuilder()

public MembershipBindingOrBuilder getPayloadOrBuilder()

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

optional .google.events.cloud.gkehub.v1.MembershipBinding payload = 1;

Returns
Type Description
MembershipBindingOrBuilder

hasPayload()

public boolean hasPayload()

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

optional .google.events.cloud.gkehub.v1.MembershipBinding 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(MembershipBindingEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(MembershipBinding value)

public MembershipBindingEventData.Builder mergePayload(MembershipBinding value)

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

optional .google.events.cloud.gkehub.v1.MembershipBinding payload = 1;

Parameter
Name Description
value MembershipBinding
Returns
Type Description
MembershipBindingEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(MembershipBinding value)

public MembershipBindingEventData.Builder setPayload(MembershipBinding value)

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

optional .google.events.cloud.gkehub.v1.MembershipBinding payload = 1;

Parameter
Name Description
value MembershipBinding
Returns
Type Description
MembershipBindingEventData.Builder

setPayload(MembershipBinding.Builder builderForValue)

public MembershipBindingEventData.Builder setPayload(MembershipBinding.Builder builderForValue)

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

optional .google.events.cloud.gkehub.v1.MembershipBinding payload = 1;

Parameter
Name Description
builderForValue MembershipBinding.Builder
Returns
Type Description
MembershipBindingEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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