public static final class CreateKeyEventRequest.Builder extends GeneratedMessageV3.Builder<CreateKeyEventRequest.Builder> implements CreateKeyEventRequestOrBuilder
Request message for CreateKeyEvent RPC
Protobuf type google.analytics.admin.v1beta.CreateKeyEventRequest
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 CreateKeyEventRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateKeyEventRequest build()
buildPartial()
public CreateKeyEventRequest buildPartial()
clear()
public CreateKeyEventRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateKeyEventRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearKeyEvent()
public CreateKeyEventRequest.Builder clearKeyEvent()
Required. The Key Event to create.
.google.analytics.admin.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateKeyEventRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateKeyEventRequest.Builder clearParent()
Required. The resource name of the parent property where this Key Event
will be created. Format: properties/123
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateKeyEventRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateKeyEventRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getKeyEvent()
public KeyEvent getKeyEvent()
Required. The Key Event to create.
.google.analytics.admin.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
KeyEvent |
The keyEvent.
|
getKeyEventBuilder()
public KeyEvent.Builder getKeyEventBuilder()
Required. The Key Event to create.
.google.analytics.admin.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];
getKeyEventOrBuilder()
public KeyEventOrBuilder getKeyEventOrBuilder()
Required. The Key Event to create.
.google.analytics.admin.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];
getParent()
public String getParent()
Required. The resource name of the parent property where this Key Event
will be created. Format: properties/123
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The resource name of the parent property where this Key Event
will be created. Format: properties/123
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
hasKeyEvent()
public boolean hasKeyEvent()
Required. The Key Event to create.
.google.analytics.admin.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the keyEvent field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateKeyEventRequest other)
public CreateKeyEventRequest.Builder mergeFrom(CreateKeyEventRequest other)
public CreateKeyEventRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateKeyEventRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeKeyEvent(KeyEvent value)
public CreateKeyEventRequest.Builder mergeKeyEvent(KeyEvent value)
Required. The Key Event to create.
.google.analytics.admin.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
KeyEvent
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateKeyEventRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateKeyEventRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setKeyEvent(KeyEvent value)
public CreateKeyEventRequest.Builder setKeyEvent(KeyEvent value)
Required. The Key Event to create.
.google.analytics.admin.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
KeyEvent
|
setKeyEvent(KeyEvent.Builder builderForValue)
public CreateKeyEventRequest.Builder setKeyEvent(KeyEvent.Builder builderForValue)
Required. The Key Event to create.
.google.analytics.admin.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];
setParent(String value)
public CreateKeyEventRequest.Builder setParent(String value)
Required. The resource name of the parent property where this Key Event
will be created. Format: properties/123
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateKeyEventRequest.Builder setParentBytes(ByteString value)
Required. The resource name of the parent property where this Key Event
will be created. Format: properties/123
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateKeyEventRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateKeyEventRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides