public static final class Event.Builder extends GeneratedMessage.Builder<Event.Builder> implements EventOrBuilderEvent is a resource that contains information about a telemetry event.
Protobuf type google.cloud.chronicle.v1.Event
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Event.BuilderImplements
EventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Event build()| Returns | |
|---|---|
| Type | Description |
Event |
|
buildPartial()
public Event buildPartial()| Returns | |
|---|---|
| Type | Description |
Event |
|
clear()
public Event.Builder clear()| Returns | |
|---|---|
| Type | Description |
Event.Builder |
|
clearName()
public Event.Builder clearName()The resource name of the event. Format: projects/{project}/locations/{location}/instances/{instance}/events/{event} where 'event' is URL-encoded Base64. The unencoded value of 'event' can also be found in udm.metadata.id.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
This builder for chaining. |
clearUdm()
public Event.Builder clearUdm()Event data in UDM format.
.google.backstory.UDM udm = 2;
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
|
getDefaultInstanceForType()
public Event getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Event |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()The resource name of the event. Format: projects/{project}/locations/{location}/instances/{instance}/events/{event} where 'event' is URL-encoded Base64. The unencoded value of 'event' can also be found in udm.metadata.id.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()The resource name of the event. Format: projects/{project}/locations/{location}/instances/{instance}/events/{event} where 'event' is URL-encoded Base64. The unencoded value of 'event' can also be found in udm.metadata.id.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getUdm()
public UDM getUdm()Event data in UDM format.
.google.backstory.UDM udm = 2;
| Returns | |
|---|---|
| Type | Description |
UDM |
The udm. |
getUdmBuilder()
public UDM.Builder getUdmBuilder()Event data in UDM format.
.google.backstory.UDM udm = 2;
| Returns | |
|---|---|
| Type | Description |
UDM.Builder |
|
getUdmOrBuilder()
public UDMOrBuilder getUdmOrBuilder()Event data in UDM format.
.google.backstory.UDM udm = 2;
| Returns | |
|---|---|
| Type | Description |
UDMOrBuilder |
|
hasUdm()
public boolean hasUdm()Event data in UDM format.
.google.backstory.UDM udm = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the udm field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Event other)
public Event.Builder mergeFrom(Event other)| Parameter | |
|---|---|
| Name | Description |
other |
Event |
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Event.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Event.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
|
mergeUdm(UDM value)
public Event.Builder mergeUdm(UDM value)Event data in UDM format.
.google.backstory.UDM udm = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
UDM |
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
|
setName(String value)
public Event.Builder setName(String value)The resource name of the event. Format: projects/{project}/locations/{location}/instances/{instance}/events/{event} where 'event' is URL-encoded Base64. The unencoded value of 'event' can also be found in udm.metadata.id.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Event.Builder setNameBytes(ByteString value)The resource name of the event. Format: projects/{project}/locations/{location}/instances/{instance}/events/{event} where 'event' is URL-encoded Base64. The unencoded value of 'event' can also be found in udm.metadata.id.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
This builder for chaining. |
setUdm(UDM value)
public Event.Builder setUdm(UDM value)Event data in UDM format.
.google.backstory.UDM udm = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
UDM |
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
|
setUdm(UDM.Builder builderForValue)
public Event.Builder setUdm(UDM.Builder builderForValue)Event data in UDM format.
.google.backstory.UDM udm = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
UDM.Builder |
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
|