public static final class AutomationEvent.Builder extends GeneratedMessage.Builder<AutomationEvent.Builder> implements AutomationEventOrBuilderPayload proto for "clouddeploy.googleapis.com/automation" Platform Log event that describes the Automation related events.
Protobuf type google.cloud.deploy.v1.AutomationEvent
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AutomationEvent.BuilderImplements
AutomationEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AutomationEvent build()| Returns | |
|---|---|
| Type | Description |
AutomationEvent |
|
buildPartial()
public AutomationEvent buildPartial()| Returns | |
|---|---|
| Type | Description |
AutomationEvent |
|
clear()
public AutomationEvent.Builder clear()| Returns | |
|---|---|
| Type | Description |
AutomationEvent.Builder |
|
clearAutomation()
public AutomationEvent.Builder clearAutomation() The name of the AutomationRun.
string automation = 2;
| Returns | |
|---|---|
| Type | Description |
AutomationEvent.Builder |
This builder for chaining. |
clearMessage()
public AutomationEvent.Builder clearMessage()Debug message for when there is an update on the AutomationRun. Provides further details about the resource creation or state change.
string message = 1;
| Returns | |
|---|---|
| Type | Description |
AutomationEvent.Builder |
This builder for chaining. |
clearPipelineUid()
public AutomationEvent.Builder clearPipelineUid() Unique identifier of the DeliveryPipeline.
string pipeline_uid = 3;
| Returns | |
|---|---|
| Type | Description |
AutomationEvent.Builder |
This builder for chaining. |
clearType()
public AutomationEvent.Builder clearType()Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 4;
| Returns | |
|---|---|
| Type | Description |
AutomationEvent.Builder |
This builder for chaining. |
getAutomation()
public String getAutomation() The name of the AutomationRun.
string automation = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The automation. |
getAutomationBytes()
public ByteString getAutomationBytes() The name of the AutomationRun.
string automation = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for automation. |
getDefaultInstanceForType()
public AutomationEvent getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AutomationEvent |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMessage()
public String getMessage()Debug message for when there is an update on the AutomationRun. Provides further details about the resource creation or state change.
string message = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The message. |
getMessageBytes()
public ByteString getMessageBytes()Debug message for when there is an update on the AutomationRun. Provides further details about the resource creation or state change.
string message = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for message. |
getPipelineUid()
public String getPipelineUid() Unique identifier of the DeliveryPipeline.
string pipeline_uid = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The pipelineUid. |
getPipelineUidBytes()
public ByteString getPipelineUidBytes() Unique identifier of the DeliveryPipeline.
string pipeline_uid = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pipelineUid. |
getType()
public Type getType()Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 4;
| Returns | |
|---|---|
| Type | Description |
Type |
The type. |
getTypeValue()
public int getTypeValue()Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AutomationEvent other)
public AutomationEvent.Builder mergeFrom(AutomationEvent other)| Parameter | |
|---|---|
| Name | Description |
other |
AutomationEvent |
| Returns | |
|---|---|
| Type | Description |
AutomationEvent.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutomationEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AutomationEvent.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AutomationEvent.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AutomationEvent.Builder |
|
setAutomation(String value)
public AutomationEvent.Builder setAutomation(String value) The name of the AutomationRun.
string automation = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe automation to set. |
| Returns | |
|---|---|
| Type | Description |
AutomationEvent.Builder |
This builder for chaining. |
setAutomationBytes(ByteString value)
public AutomationEvent.Builder setAutomationBytes(ByteString value) The name of the AutomationRun.
string automation = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for automation to set. |
| Returns | |
|---|---|
| Type | Description |
AutomationEvent.Builder |
This builder for chaining. |
setMessage(String value)
public AutomationEvent.Builder setMessage(String value)Debug message for when there is an update on the AutomationRun. Provides further details about the resource creation or state change.
string message = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe message to set. |
| Returns | |
|---|---|
| Type | Description |
AutomationEvent.Builder |
This builder for chaining. |
setMessageBytes(ByteString value)
public AutomationEvent.Builder setMessageBytes(ByteString value)Debug message for when there is an update on the AutomationRun. Provides further details about the resource creation or state change.
string message = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for message to set. |
| Returns | |
|---|---|
| Type | Description |
AutomationEvent.Builder |
This builder for chaining. |
setPipelineUid(String value)
public AutomationEvent.Builder setPipelineUid(String value) Unique identifier of the DeliveryPipeline.
string pipeline_uid = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pipelineUid to set. |
| Returns | |
|---|---|
| Type | Description |
AutomationEvent.Builder |
This builder for chaining. |
setPipelineUidBytes(ByteString value)
public AutomationEvent.Builder setPipelineUidBytes(ByteString value) Unique identifier of the DeliveryPipeline.
string pipeline_uid = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pipelineUid to set. |
| Returns | |
|---|---|
| Type | Description |
AutomationEvent.Builder |
This builder for chaining. |
setType(Type value)
public AutomationEvent.Builder setType(Type value)Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
TypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
AutomationEvent.Builder |
This builder for chaining. |
setTypeValue(int value)
public AutomationEvent.Builder setTypeValue(int value)Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
AutomationEvent.Builder |
This builder for chaining. |