public static final class MembershipEventData.Builder extends GeneratedMessageV3.Builder<MembershipEventData.Builder> implements MembershipEventDataOrBuilder
The data within all Membership events.
Protobuf type google.events.cloud.gkehub.v1.MembershipEventData
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MembershipEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MembershipEventData build()
buildPartial()
public MembershipEventData buildPartial()
clear()
public MembershipEventData.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public MembershipEventData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MembershipEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPayload()
public MembershipEventData.Builder clearPayload()
Optional. The Membership event payload. Unset for deletion events.
optional .google.events.cloud.gkehub.v1.Membership payload = 1;
clone()
public MembershipEventData.Builder clone()
Overrides
getDefaultInstanceForType()
public MembershipEventData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPayload()
public Membership getPayload()
Optional. The Membership event payload. Unset for deletion events.
optional .google.events.cloud.gkehub.v1.Membership payload = 1;
getPayloadBuilder()
public Membership.Builder getPayloadBuilder()
Optional. The Membership event payload. Unset for deletion events.
optional .google.events.cloud.gkehub.v1.Membership payload = 1;
getPayloadOrBuilder()
public MembershipOrBuilder getPayloadOrBuilder()
Optional. The Membership event payload. Unset for deletion events.
optional .google.events.cloud.gkehub.v1.Membership payload = 1;
hasPayload()
public boolean hasPayload()
Optional. The Membership event payload. Unset for deletion events.
optional .google.events.cloud.gkehub.v1.Membership payload = 1;
Returns |
---|
Type | Description |
boolean | Whether the payload field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MembershipEventData other)
public MembershipEventData.Builder mergeFrom(MembershipEventData other)
public MembershipEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MembershipEventData.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergePayload(Membership value)
public MembershipEventData.Builder mergePayload(Membership value)
Optional. The Membership event payload. Unset for deletion events.
optional .google.events.cloud.gkehub.v1.Membership payload = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MembershipEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public MembershipEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPayload(Membership value)
public MembershipEventData.Builder setPayload(Membership value)
Optional. The Membership event payload. Unset for deletion events.
optional .google.events.cloud.gkehub.v1.Membership payload = 1;
setPayload(Membership.Builder builderForValue)
public MembershipEventData.Builder setPayload(Membership.Builder builderForValue)
Optional. The Membership event payload. Unset for deletion events.
optional .google.events.cloud.gkehub.v1.Membership payload = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MembershipEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MembershipEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides