Package com.google.cloud.deploy.v1
Class AutomationEvent.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AutomationEvent.Builder>
com.google.cloud.deploy.v1.AutomationEvent.Builder
- All Implemented Interfaces:
AutomationEventOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AutomationEvent
public static final class AutomationEvent.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AutomationEvent.Builder>
implements AutomationEventOrBuilder
Payload proto for "clouddeploy.googleapis.com/automation" Platform Log event that describes the Automation related events.Protobuf type
google.cloud.deploy.v1.AutomationEvent-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The name of the `AutomationRun`.Debug message for when there is an update on the AutomationRun.Unique identifier of the `DeliveryPipeline`.Type of this notification, e.g. for a Pub/Sub failure.The name of the `AutomationRun`.com.google.protobuf.ByteStringThe name of the `AutomationRun`.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDebug message for when there is an update on the AutomationRun.com.google.protobuf.ByteStringDebug message for when there is an update on the AutomationRun.Unique identifier of the `DeliveryPipeline`.com.google.protobuf.ByteStringUnique identifier of the `DeliveryPipeline`.getType()Type of this notification, e.g. for a Pub/Sub failure.intType of this notification, e.g. for a Pub/Sub failure.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(AutomationEvent other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAutomation(String value) The name of the `AutomationRun`.setAutomationBytes(com.google.protobuf.ByteString value) The name of the `AutomationRun`.setMessage(String value) Debug message for when there is an update on the AutomationRun.setMessageBytes(com.google.protobuf.ByteString value) Debug message for when there is an update on the AutomationRun.setPipelineUid(String value) Unique identifier of the `DeliveryPipeline`.setPipelineUidBytes(com.google.protobuf.ByteString value) Unique identifier of the `DeliveryPipeline`.Type of this notification, e.g. for a Pub/Sub failure.setTypeValue(int value) Type of this notification, e.g. for a Pub/Sub failure.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AutomationEvent.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AutomationEvent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AutomationEvent.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AutomationEvent.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AutomationEvent.Builder>
-
mergeFrom
public AutomationEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AutomationEvent.Builder>- Throws:
IOException
-
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;- Specified by:
getMessagein interfaceAutomationEventOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.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;- Specified by:
getMessageBytesin interfaceAutomationEventOrBuilder- Returns:
- The bytes for message.
-
setMessage
Debug message for when there is an update on the AutomationRun. Provides further details about the resource creation or state change.
string message = 1;- Parameters:
value- The message to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setMessageBytes
Debug message for when there is an update on the AutomationRun. Provides further details about the resource creation or state change.
string message = 1;- Parameters:
value- The bytes for message to set.- Returns:
- This builder for chaining.
-
getAutomation
The name of the `AutomationRun`.
string automation = 2;- Specified by:
getAutomationin interfaceAutomationEventOrBuilder- Returns:
- The automation.
-
getAutomationBytes
public com.google.protobuf.ByteString getAutomationBytes()The name of the `AutomationRun`.
string automation = 2;- Specified by:
getAutomationBytesin interfaceAutomationEventOrBuilder- Returns:
- The bytes for automation.
-
setAutomation
The name of the `AutomationRun`.
string automation = 2;- Parameters:
value- The automation to set.- Returns:
- This builder for chaining.
-
clearAutomation
The name of the `AutomationRun`.
string automation = 2;- Returns:
- This builder for chaining.
-
setAutomationBytes
The name of the `AutomationRun`.
string automation = 2;- Parameters:
value- The bytes for automation to set.- Returns:
- This builder for chaining.
-
getPipelineUid
Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 3;- Specified by:
getPipelineUidin interfaceAutomationEventOrBuilder- Returns:
- The pipelineUid.
-
getPipelineUidBytes
public com.google.protobuf.ByteString getPipelineUidBytes()Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 3;- Specified by:
getPipelineUidBytesin interfaceAutomationEventOrBuilder- Returns:
- The bytes for pipelineUid.
-
setPipelineUid
Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 3;- Parameters:
value- The pipelineUid to set.- Returns:
- This builder for chaining.
-
clearPipelineUid
Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 3;- Returns:
- This builder for chaining.
-
setPipelineUidBytes
Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 3;- Parameters:
value- The bytes for pipelineUid to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 4;- Specified by:
getTypeValuein interfaceAutomationEventOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 4;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 4;- Specified by:
getTypein interfaceAutomationEventOrBuilder- Returns:
- The type.
-
setType
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 4;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 4;- Returns:
- This builder for chaining.
-