public static final class ScopeEventData.Builder extends GeneratedMessageV3.Builder<ScopeEventData.Builder> implements ScopeEventDataOrBuilder
The data within all Scope events.
Protobuf type google.events.cloud.gkehub.v1.ScopeEventData
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 ScopeEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ScopeEventData build()
buildPartial()
public ScopeEventData buildPartial()
clear()
public ScopeEventData.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ScopeEventData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ScopeEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPayload()
public ScopeEventData.Builder clearPayload()
Optional. The Scope event payload. Unset for deletion events.
optional .google.events.cloud.gkehub.v1.Scope payload = 1;
clone()
public ScopeEventData.Builder clone()
Overrides
getDefaultInstanceForType()
public ScopeEventData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPayload()
public Scope getPayload()
Optional. The Scope event payload. Unset for deletion events.
optional .google.events.cloud.gkehub.v1.Scope payload = 1;
Returns |
Type |
Description |
Scope |
The payload.
|
getPayloadBuilder()
public Scope.Builder getPayloadBuilder()
Optional. The Scope event payload. Unset for deletion events.
optional .google.events.cloud.gkehub.v1.Scope payload = 1;
getPayloadOrBuilder()
public ScopeOrBuilder getPayloadOrBuilder()
Optional. The Scope event payload. Unset for deletion events.
optional .google.events.cloud.gkehub.v1.Scope payload = 1;
hasPayload()
public boolean hasPayload()
Optional. The Scope event payload. Unset for deletion events.
optional .google.events.cloud.gkehub.v1.Scope 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(ScopeEventData other)
public ScopeEventData.Builder mergeFrom(ScopeEventData other)
public ScopeEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ScopeEventData.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergePayload(Scope value)
public ScopeEventData.Builder mergePayload(Scope value)
Optional. The Scope event payload. Unset for deletion events.
optional .google.events.cloud.gkehub.v1.Scope payload = 1;
Parameter |
Name |
Description |
value |
Scope
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ScopeEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ScopeEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPayload(Scope value)
public ScopeEventData.Builder setPayload(Scope value)
Optional. The Scope event payload. Unset for deletion events.
optional .google.events.cloud.gkehub.v1.Scope payload = 1;
Parameter |
Name |
Description |
value |
Scope
|
setPayload(Scope.Builder builderForValue)
public ScopeEventData.Builder setPayload(Scope.Builder builderForValue)
Optional. The Scope event payload. Unset for deletion events.
optional .google.events.cloud.gkehub.v1.Scope payload = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ScopeEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ScopeEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides