Package com.google.cloud.eventarc.v1
Class UpdateChannelRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateChannelRequest.Builder>
com.google.cloud.eventarc.v1.UpdateChannelRequest.Builder
- All Implemented Interfaces:
UpdateChannelRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UpdateChannelRequest
public static final class UpdateChannelRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UpdateChannelRequest.Builder>
implements UpdateChannelRequestOrBuilder
The request message for the UpdateChannel method.Protobuf type
google.cloud.eventarc.v1.UpdateChannelRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The channel to be updated.The fields to be updated; only fields explicitly provided are updated.Optional.The channel to be updated.The channel to be updated.The channel to be updated.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.FieldMaskThe fields to be updated; only fields explicitly provided are updated.com.google.protobuf.FieldMask.BuilderThe fields to be updated; only fields explicitly provided are updated.com.google.protobuf.FieldMaskOrBuilderThe fields to be updated; only fields explicitly provided are updated.booleanOptional.booleanThe channel to be updated.booleanThe fields to be updated; only fields explicitly provided are updated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeChannel(Channel value) The channel to be updated.mergeFrom(UpdateChannelRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateMask(com.google.protobuf.FieldMask value) The fields to be updated; only fields explicitly provided are updated.setChannel(Channel value) The channel to be updated.setChannel(Channel.Builder builderForValue) The channel to be updated.setUpdateMask(com.google.protobuf.FieldMask value) The fields to be updated; only fields explicitly provided are updated.setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) The fields to be updated; only fields explicitly provided are updated.setValidateOnly(boolean value) Optional.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<UpdateChannelRequest.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<UpdateChannelRequest.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<UpdateChannelRequest.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<UpdateChannelRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UpdateChannelRequest.Builder>
-
mergeFrom
public UpdateChannelRequest.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<UpdateChannelRequest.Builder>- Throws:
IOException
-
hasChannel
public boolean hasChannel()The channel to be updated.
.google.cloud.eventarc.v1.Channel channel = 1;- Specified by:
hasChannelin interfaceUpdateChannelRequestOrBuilder- Returns:
- Whether the channel field is set.
-
getChannel
The channel to be updated.
.google.cloud.eventarc.v1.Channel channel = 1;- Specified by:
getChannelin interfaceUpdateChannelRequestOrBuilder- Returns:
- The channel.
-
setChannel
The channel to be updated.
.google.cloud.eventarc.v1.Channel channel = 1; -
setChannel
The channel to be updated.
.google.cloud.eventarc.v1.Channel channel = 1; -
mergeChannel
The channel to be updated.
.google.cloud.eventarc.v1.Channel channel = 1; -
clearChannel
The channel to be updated.
.google.cloud.eventarc.v1.Channel channel = 1; -
getChannelBuilder
The channel to be updated.
.google.cloud.eventarc.v1.Channel channel = 1; -
getChannelOrBuilder
The channel to be updated.
.google.cloud.eventarc.v1.Channel channel = 1;- Specified by:
getChannelOrBuilderin interfaceUpdateChannelRequestOrBuilder
-
hasUpdateMask
public boolean hasUpdateMask()The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
.google.protobuf.FieldMask update_mask = 2;- Specified by:
hasUpdateMaskin interfaceUpdateChannelRequestOrBuilder- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
public com.google.protobuf.FieldMask getUpdateMask()The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
.google.protobuf.FieldMask update_mask = 2;- Specified by:
getUpdateMaskin interfaceUpdateChannelRequestOrBuilder- Returns:
- The updateMask.
-
setUpdateMask
The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
.google.protobuf.FieldMask update_mask = 2; -
setUpdateMask
public UpdateChannelRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
.google.protobuf.FieldMask update_mask = 2; -
mergeUpdateMask
The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
.google.protobuf.FieldMask update_mask = 2; -
clearUpdateMask
The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
.google.protobuf.FieldMask update_mask = 2; -
getUpdateMaskBuilder
public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
.google.protobuf.FieldMask update_mask = 2; -
getUpdateMaskOrBuilder
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
.google.protobuf.FieldMask update_mask = 2;- Specified by:
getUpdateMaskOrBuilderin interfaceUpdateChannelRequestOrBuilder
-
getValidateOnly
public boolean getValidateOnly()Optional. If set, validate the request and preview the review, but do not post it.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getValidateOnlyin interfaceUpdateChannelRequestOrBuilder- Returns:
- The validateOnly.
-
setValidateOnly
Optional. If set, validate the request and preview the review, but do not post it.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The validateOnly to set.- Returns:
- This builder for chaining.
-
clearValidateOnly
Optional. If set, validate the request and preview the review, but do not post it.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-