Package com.google.cloud.eventarc.v1
Class Trigger
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.eventarc.v1.Trigger
-
- All Implemented Interfaces:
TriggerOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Trigger extends com.google.protobuf.GeneratedMessageV3 implements TriggerOrBuilder
A representation of the trigger resource.
Protobuf typegoogle.cloud.eventarc.v1.Trigger- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTrigger.BuilderA representation of the trigger resource.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCHANNEL_FIELD_NUMBERstatic intCONDITIONS_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intDESTINATION_FIELD_NUMBERstatic intETAG_FIELD_NUMBERstatic intEVENT_FILTERS_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intSERVICE_ACCOUNT_FIELD_NUMBERstatic intTRANSPORT_FIELD_NUMBERstatic intUID_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsConditions(String key)Output only.booleancontainsLabels(String key)Optional.booleanequals(Object obj)StringgetChannel()Optional.com.google.protobuf.ByteStringgetChannelBytes()Optional.Map<String,StateCondition>getConditions()Deprecated.intgetConditionsCount()Output only.Map<String,StateCondition>getConditionsMap()Output only.StateConditiongetConditionsOrDefault(String key, StateCondition defaultValue)Output only.StateConditiongetConditionsOrThrow(String key)Output only.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.static TriggergetDefaultInstance()TriggergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DestinationgetDestination()Required.DestinationOrBuildergetDestinationOrBuilder()Required.StringgetEtag()Output only.com.google.protobuf.ByteStringgetEtagBytes()Output only.EventFiltergetEventFilters(int index)Required.intgetEventFiltersCount()Required.List<EventFilter>getEventFiltersList()Required.EventFilterOrBuildergetEventFiltersOrBuilder(int index)Required.List<? extends EventFilterOrBuilder>getEventFiltersOrBuilderList()Required.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Optional.Map<String,String>getLabelsMap()Optional.StringgetLabelsOrDefault(String key, String defaultValue)Optional.StringgetLabelsOrThrow(String key)Optional.StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.com.google.protobuf.Parser<Trigger>getParserForType()intgetSerializedSize()StringgetServiceAccount()Optional.com.google.protobuf.ByteStringgetServiceAccountBytes()Optional.TransportgetTransport()Optional.TransportOrBuildergetTransportOrBuilder()Optional.StringgetUid()Output only.com.google.protobuf.ByteStringgetUidBytes()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasDestination()Required.inthashCode()booleanhasTransport()Optional.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Trigger.BuildernewBuilder()static Trigger.BuildernewBuilder(Trigger prototype)Trigger.BuildernewBuilderForType()protected Trigger.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static TriggerparseDelimitedFrom(InputStream input)static TriggerparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TriggerparseFrom(byte[] data)static TriggerparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TriggerparseFrom(com.google.protobuf.ByteString data)static TriggerparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TriggerparseFrom(com.google.protobuf.CodedInputStream input)static TriggerparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TriggerparseFrom(InputStream input)static TriggerparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TriggerparseFrom(ByteBuffer data)static TriggerparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Trigger>parser()Trigger.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVENT_FILTERS_FIELD_NUMBER
public static final int EVENT_FILTERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESTINATION_FIELD_NUMBER
public static final int DESTINATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRANSPORT_FIELD_NUMBER
public static final int TRANSPORT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CHANNEL_FIELD_NUMBER
public static final int CHANNEL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONDITIONS_FIELD_NUMBER
public static final int CONDITIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Required. The resource name of the trigger. Must be unique within the location of the project and must be in `projects/{project}/locations/{location}/triggers/{trigger}` format.string name = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNamein interfaceTriggerOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Required. The resource name of the trigger. Must be unique within the location of the project and must be in `projects/{project}/locations/{location}/triggers/{trigger}` format.string name = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNameBytesin interfaceTriggerOrBuilder- Returns:
- The bytes for name.
-
getUid
public String getUid()
Output only. Server-assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidin interfaceTriggerOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()
Output only. Server-assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidBytesin interfaceTriggerOrBuilder- Returns:
- The bytes for uid.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceTriggerOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceTriggerOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceTriggerOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceTriggerOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceTriggerOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceTriggerOrBuilder
-
getEventFiltersList
public List<EventFilter> getEventFiltersList()
Required. Unordered list. The list of filters that applies to event attributes. Only events that match all the provided filters are sent to the destination.
repeated .google.cloud.eventarc.v1.EventFilter event_filters = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];- Specified by:
getEventFiltersListin interfaceTriggerOrBuilder
-
getEventFiltersOrBuilderList
public List<? extends EventFilterOrBuilder> getEventFiltersOrBuilderList()
Required. Unordered list. The list of filters that applies to event attributes. Only events that match all the provided filters are sent to the destination.
repeated .google.cloud.eventarc.v1.EventFilter event_filters = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];- Specified by:
getEventFiltersOrBuilderListin interfaceTriggerOrBuilder
-
getEventFiltersCount
public int getEventFiltersCount()
Required. Unordered list. The list of filters that applies to event attributes. Only events that match all the provided filters are sent to the destination.
repeated .google.cloud.eventarc.v1.EventFilter event_filters = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];- Specified by:
getEventFiltersCountin interfaceTriggerOrBuilder
-
getEventFilters
public EventFilter getEventFilters(int index)
Required. Unordered list. The list of filters that applies to event attributes. Only events that match all the provided filters are sent to the destination.
repeated .google.cloud.eventarc.v1.EventFilter event_filters = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];- Specified by:
getEventFiltersin interfaceTriggerOrBuilder
-
getEventFiltersOrBuilder
public EventFilterOrBuilder getEventFiltersOrBuilder(int index)
Required. Unordered list. The list of filters that applies to event attributes. Only events that match all the provided filters are sent to the destination.
repeated .google.cloud.eventarc.v1.EventFilter event_filters = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];- Specified by:
getEventFiltersOrBuilderin interfaceTriggerOrBuilder
-
getServiceAccount
public String getServiceAccount()
Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The principal who calls this API must have the `iam.serviceAccounts.actAs` permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts?hl=en#sa_common for more information. For Cloud Run destinations, this service account is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke authenticated Cloud Run services. To create Audit Log triggers, the service account should also have the `roles/eventarc.eventReceiver` IAM role.
string service_account = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getServiceAccountin interfaceTriggerOrBuilder- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public com.google.protobuf.ByteString getServiceAccountBytes()
Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The principal who calls this API must have the `iam.serviceAccounts.actAs` permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts?hl=en#sa_common for more information. For Cloud Run destinations, this service account is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke authenticated Cloud Run services. To create Audit Log triggers, the service account should also have the `roles/eventarc.eventReceiver` IAM role.
string service_account = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getServiceAccountBytesin interfaceTriggerOrBuilder- Returns:
- The bytes for serviceAccount.
-
hasDestination
public boolean hasDestination()
Required. Destination specifies where the events should be sent to.
.google.cloud.eventarc.v1.Destination destination = 10 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasDestinationin interfaceTriggerOrBuilder- Returns:
- Whether the destination field is set.
-
getDestination
public Destination getDestination()
Required. Destination specifies where the events should be sent to.
.google.cloud.eventarc.v1.Destination destination = 10 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDestinationin interfaceTriggerOrBuilder- Returns:
- The destination.
-
getDestinationOrBuilder
public DestinationOrBuilder getDestinationOrBuilder()
Required. Destination specifies where the events should be sent to.
.google.cloud.eventarc.v1.Destination destination = 10 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDestinationOrBuilderin interfaceTriggerOrBuilder
-
hasTransport
public boolean hasTransport()
Optional. To deliver messages, Eventarc might use other GCP products as a transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes.
.google.cloud.eventarc.v1.Transport transport = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasTransportin interfaceTriggerOrBuilder- Returns:
- Whether the transport field is set.
-
getTransport
public Transport getTransport()
Optional. To deliver messages, Eventarc might use other GCP products as a transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes.
.google.cloud.eventarc.v1.Transport transport = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTransportin interfaceTriggerOrBuilder- Returns:
- The transport.
-
getTransportOrBuilder
public TransportOrBuilder getTransportOrBuilder()
Optional. To deliver messages, Eventarc might use other GCP products as a transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes.
.google.cloud.eventarc.v1.Transport transport = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTransportOrBuilderin interfaceTriggerOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:TriggerOrBuilderOptional. User labels attached to the triggers that can be used to group resources.
map<string, string> labels = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceTriggerOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Optional. User labels attached to the triggers that can be used to group resources.
map<string, string> labels = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceTriggerOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceTriggerOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Optional. User labels attached to the triggers that can be used to group resources.
map<string, string> labels = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceTriggerOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Optional. User labels attached to the triggers that can be used to group resources.
map<string, string> labels = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceTriggerOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Optional. User labels attached to the triggers that can be used to group resources.
map<string, string> labels = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceTriggerOrBuilder
-
getChannel
public String getChannel()
Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from Eventarc SaaS partners.string channel = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getChannelin interfaceTriggerOrBuilder- Returns:
- The channel.
-
getChannelBytes
public com.google.protobuf.ByteString getChannelBytes()
Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from Eventarc SaaS partners.string channel = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getChannelBytesin interfaceTriggerOrBuilder- Returns:
- The bytes for channel.
-
getConditionsCount
public int getConditionsCount()
Description copied from interface:TriggerOrBuilderOutput only. The reason(s) why a trigger is in FAILED state.
map<string, .google.cloud.eventarc.v1.StateCondition> conditions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConditionsCountin interfaceTriggerOrBuilder
-
containsConditions
public boolean containsConditions(String key)
Output only. The reason(s) why a trigger is in FAILED state.
map<string, .google.cloud.eventarc.v1.StateCondition> conditions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
containsConditionsin interfaceTriggerOrBuilder
-
getConditions
@Deprecated public Map<String,StateCondition> getConditions()
Deprecated.UsegetConditionsMap()instead.- Specified by:
getConditionsin interfaceTriggerOrBuilder
-
getConditionsMap
public Map<String,StateCondition> getConditionsMap()
Output only. The reason(s) why a trigger is in FAILED state.
map<string, .google.cloud.eventarc.v1.StateCondition> conditions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConditionsMapin interfaceTriggerOrBuilder
-
getConditionsOrDefault
public StateCondition getConditionsOrDefault(String key, StateCondition defaultValue)
Output only. The reason(s) why a trigger is in FAILED state.
map<string, .google.cloud.eventarc.v1.StateCondition> conditions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConditionsOrDefaultin interfaceTriggerOrBuilder
-
getConditionsOrThrow
public StateCondition getConditionsOrThrow(String key)
Output only. The reason(s) why a trigger is in FAILED state.
map<string, .google.cloud.eventarc.v1.StateCondition> conditions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConditionsOrThrowin interfaceTriggerOrBuilder
-
getEtag
public String getEtag()
Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on create requests to ensure that the client has an up-to-date value before proceeding.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEtagin interfaceTriggerOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on create requests to ensure that the client has an up-to-date value before proceeding.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEtagBytesin interfaceTriggerOrBuilder- Returns:
- The bytes for etag.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Trigger parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Trigger parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Trigger parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Trigger parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Trigger parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Trigger parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Trigger parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Trigger parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Trigger parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Trigger parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Trigger parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Trigger parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Trigger.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Trigger.Builder newBuilder()
-
newBuilder
public static Trigger.Builder newBuilder(Trigger prototype)
-
toBuilder
public Trigger.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Trigger.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Trigger getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Trigger> parser()
-
getParserForType
public com.google.protobuf.Parser<Trigger> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Trigger getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-