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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MembershipEventData.BuilderImplements
MembershipEventDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MembershipEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
MembershipEventData.Builder |
build()
public MembershipEventData build()
Returns | |
---|---|
Type | Description |
MembershipEventData |
buildPartial()
public MembershipEventData buildPartial()
Returns | |
---|---|
Type | Description |
MembershipEventData |
clear()
public MembershipEventData.Builder clear()
Returns | |
---|---|
Type | Description |
MembershipEventData.Builder |
clearField(Descriptors.FieldDescriptor field)
public MembershipEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
MembershipEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MembershipEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
MembershipEventData.Builder |
clearPayload()
public MembershipEventData.Builder clearPayload()
Optional. The Membership event payload. Unset for deletion events.
optional .google.events.cloud.gkehub.v1.Membership payload = 1;
Returns | |
---|---|
Type | Description |
MembershipEventData.Builder |
clone()
public MembershipEventData.Builder clone()
Returns | |
---|---|
Type | Description |
MembershipEventData.Builder |
getDefaultInstanceForType()
public MembershipEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MembershipEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPayload()
public Membership getPayload()
Optional. The Membership event payload. Unset for deletion events.
optional .google.events.cloud.gkehub.v1.Membership payload = 1;
Returns | |
---|---|
Type | Description |
Membership | The payload. |
getPayloadBuilder()
public Membership.Builder getPayloadBuilder()
Optional. The Membership event payload. Unset for deletion events.
optional .google.events.cloud.gkehub.v1.Membership payload = 1;
Returns | |
---|---|
Type | Description |
Membership.Builder |
getPayloadOrBuilder()
public MembershipOrBuilder getPayloadOrBuilder()
Optional. The Membership event payload. Unset for deletion events.
optional .google.events.cloud.gkehub.v1.Membership payload = 1;
Returns | |
---|---|
Type | Description |
MembershipOrBuilder |
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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(MembershipEventData other)
public MembershipEventData.Builder mergeFrom(MembershipEventData other)
Parameter | |
---|---|
Name | Description |
other | MembershipEventData |
Returns | |
---|---|
Type | Description |
MembershipEventData.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MembershipEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MembershipEventData.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MembershipEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
MembershipEventData.Builder |
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;
Parameter | |
---|---|
Name | Description |
value | Membership |
Returns | |
---|---|
Type | Description |
MembershipEventData.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MembershipEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MembershipEventData.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MembershipEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
MembershipEventData.Builder |
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;
Parameter | |
---|---|
Name | Description |
value | Membership |
Returns | |
---|---|
Type | Description |
MembershipEventData.Builder |
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Membership.Builder |
Returns | |
---|---|
Type | Description |
MembershipEventData.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MembershipEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
MembershipEventData.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MembershipEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MembershipEventData.Builder |