Class MembershipBindingEventData.Builder (0.14.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MembershipBindingEventData build()
Returns
TypeDescription
MembershipBindingEventData

buildPartial()

public MembershipBindingEventData buildPartial()
Returns
TypeDescription
MembershipBindingEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public MembershipBindingEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
MembershipBindingEventData.Builder

clone()

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

getDefaultInstanceForType()

public MembershipBindingEventData getDefaultInstanceForType()
Returns
TypeDescription
MembershipBindingEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
MembershipBindingOrBuilder

hasPayload()

public boolean hasPayload()

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

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

public MembershipBindingEventData.Builder mergeFrom(MembershipBindingEventData other)
Parameter
NameDescription
otherMembershipBindingEventData
Returns
TypeDescription
MembershipBindingEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public MembershipBindingEventData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueMembershipBinding
Returns
TypeDescription
MembershipBindingEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public MembershipBindingEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueMembershipBinding
Returns
TypeDescription
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
NameDescription
builderForValueMembershipBinding.Builder
Returns
TypeDescription
MembershipBindingEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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