public final class UpdateSubscriptionRequest extends GeneratedMessageV3 implements UpdateSubscriptionRequestOrBuilder
Request for UpdateSubscription.
Protobuf type google.cloud.pubsublite.v1.UpdateSubscriptionRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpdateSubscriptionRequestImplements
UpdateSubscriptionRequestOrBuilderStatic Fields
SUBSCRIPTION_FIELD_NUMBER
public static final int SUBSCRIPTION_FIELD_NUMBER
Type | Description |
int |
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static UpdateSubscriptionRequest getDefaultInstance()
Type | Description |
UpdateSubscriptionRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static UpdateSubscriptionRequest.Builder newBuilder()
Type | Description |
UpdateSubscriptionRequest.Builder |
newBuilder(UpdateSubscriptionRequest prototype)
public static UpdateSubscriptionRequest.Builder newBuilder(UpdateSubscriptionRequest prototype)
Name | Description |
prototype | UpdateSubscriptionRequest |
Type | Description |
UpdateSubscriptionRequest.Builder |
parseDelimitedFrom(InputStream input)
public static UpdateSubscriptionRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
UpdateSubscriptionRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateSubscriptionRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateSubscriptionRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static UpdateSubscriptionRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
UpdateSubscriptionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateSubscriptionRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateSubscriptionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static UpdateSubscriptionRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
UpdateSubscriptionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateSubscriptionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateSubscriptionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static UpdateSubscriptionRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
UpdateSubscriptionRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateSubscriptionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateSubscriptionRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static UpdateSubscriptionRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
UpdateSubscriptionRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateSubscriptionRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateSubscriptionRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static UpdateSubscriptionRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
UpdateSubscriptionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateSubscriptionRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateSubscriptionRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<UpdateSubscriptionRequest> parser()
Type | Description |
Parser<UpdateSubscriptionRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public UpdateSubscriptionRequest getDefaultInstanceForType()
Type | Description |
UpdateSubscriptionRequest |
getParserForType()
public Parser<UpdateSubscriptionRequest> getParserForType()
Type | Description |
Parser<UpdateSubscriptionRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
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];
Type | Description |
Subscription | The subscription. |
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];
Type | Description |
SubscriptionOrBuilder |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getUpdateMask()
public FieldMask getUpdateMask()
Required. A mask specifying the subscription fields to change.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
FieldMask | The updateMask. |
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. A mask specifying the subscription fields to change.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
FieldMaskOrBuilder |
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];
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];
Type | Description |
boolean | Whether the updateMask field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public UpdateSubscriptionRequest.Builder newBuilderForType()
Type | Description |
UpdateSubscriptionRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateSubscriptionRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
UpdateSubscriptionRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public UpdateSubscriptionRequest.Builder toBuilder()
Type | Description |
UpdateSubscriptionRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |