Send feedback
Class UpdateSubscriptionRequest.Builder (1.9.4)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.9.4 keyboard_arrow_down
public static final class UpdateSubscriptionRequest . Builder extends GeneratedMessageV3 . Builder<UpdateSubscriptionRequest . Builder > implements UpdateSubscriptionRequestOrBuilder
Request for UpdateSubscription.
Protobuf type google.cloud.pubsublite.v1.UpdateSubscriptionRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateSubscriptionRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public UpdateSubscriptionRequest build ()
Returns
buildPartial()
public UpdateSubscriptionRequest buildPartial ()
Returns
clear()
public UpdateSubscriptionRequest . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateSubscriptionRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateSubscriptionRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearSubscription()
public UpdateSubscriptionRequest . Builder clearSubscription ()
Required. The subscription to update. Its name
field must be populated.
Topic field must not be populated.
.google.cloud.pubsublite.v1.Subscription subscription = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearUpdateMask()
public UpdateSubscriptionRequest . Builder clearUpdateMask ()
Required. A mask specifying the subscription fields to change.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public UpdateSubscriptionRequest . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public UpdateSubscriptionRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getSubscription()
public Subscription getSubscription ()
Required. The subscription to update. Its name
field must be populated.
Topic field must not be populated.
.google.cloud.pubsublite.v1.Subscription subscription = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getSubscriptionBuilder()
public Subscription . Builder getSubscriptionBuilder ()
Required. The subscription to update. Its name
field must be populated.
Topic field must not be populated.
.google.cloud.pubsublite.v1.Subscription subscription = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getSubscriptionOrBuilder()
public SubscriptionOrBuilder getSubscriptionOrBuilder ()
Required. The subscription to update. Its name
field must be populated.
Topic field must not be populated.
.google.cloud.pubsublite.v1.Subscription subscription = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMask()
public FieldMask getUpdateMask ()
Required. A mask specifying the subscription fields to change.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMaskBuilder()
public FieldMask . Builder getUpdateMaskBuilder ()
Required. A mask specifying the subscription fields to change.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder ()
Required. A mask specifying the subscription fields to change.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
hasSubscription()
public boolean hasSubscription ()
Required. The subscription to update. Its name
field must be populated.
Topic field must not be populated.
.google.cloud.pubsublite.v1.Subscription subscription = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description boolean
Whether the subscription field is set.
hasUpdateMask()
public boolean hasUpdateMask ()
Required. A mask specifying the subscription fields to change.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description boolean
Whether the updateMask field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(UpdateSubscriptionRequest other)
public UpdateSubscriptionRequest . Builder mergeFrom ( UpdateSubscriptionRequest other )
Parameter
Returns
public UpdateSubscriptionRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateSubscriptionRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeSubscription(Subscription value)
public UpdateSubscriptionRequest . Builder mergeSubscription ( Subscription value )
Required. The subscription to update. Its name
field must be populated.
Topic field must not be populated.
.google.cloud.pubsublite.v1.Subscription subscription = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSubscriptionRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateSubscriptionRequest . Builder mergeUpdateMask ( FieldMask value )
Required. A mask specifying the subscription fields to change.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateSubscriptionRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateSubscriptionRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setSubscription(Subscription value)
public UpdateSubscriptionRequest . Builder setSubscription ( Subscription value )
Required. The subscription to update. Its name
field must be populated.
Topic field must not be populated.
.google.cloud.pubsublite.v1.Subscription subscription = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setSubscription(Subscription.Builder builderForValue)
public UpdateSubscriptionRequest . Builder setSubscription ( Subscription . Builder builderForValue )
Required. The subscription to update. Its name
field must be populated.
Topic field must not be populated.
.google.cloud.pubsublite.v1.Subscription subscription = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSubscriptionRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateSubscriptionRequest . Builder setUpdateMask ( FieldMask value )
Required. A mask specifying the subscription fields to change.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateSubscriptionRequest . Builder setUpdateMask ( FieldMask . Builder builderForValue )
Required. A mask specifying the subscription fields to change.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name Description builderForValue
Builder
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]