Class UpdateSubscriberRequest (0.2.0)

public final class UpdateSubscriberRequest extends GeneratedMessage implements UpdateSubscriberRequestOrBuilder

Request message for UpdateSubscriber.

Protobuf type google.devicesandservices.health.v4.UpdateSubscriberRequest

Static Fields

SUBSCRIBER_FIELD_NUMBER

public static final int SUBSCRIBER_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateSubscriberRequest getDefaultInstance()
Returns
Type Description
UpdateSubscriberRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UpdateSubscriberRequest.Builder newBuilder()
Returns
Type Description
UpdateSubscriberRequest.Builder

newBuilder(UpdateSubscriberRequest prototype)

public static UpdateSubscriberRequest.Builder newBuilder(UpdateSubscriberRequest prototype)
Parameter
Name Description
prototype UpdateSubscriberRequest
Returns
Type Description
UpdateSubscriberRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateSubscriberRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateSubscriberRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateSubscriberRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSubscriberRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateSubscriberRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateSubscriberRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateSubscriberRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSubscriberRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateSubscriberRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateSubscriberRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateSubscriberRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSubscriberRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateSubscriberRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateSubscriberRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateSubscriberRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSubscriberRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateSubscriberRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateSubscriberRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateSubscriberRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSubscriberRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateSubscriberRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateSubscriberRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateSubscriberRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSubscriberRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateSubscriberRequest> parser()
Returns
Type Description
Parser<UpdateSubscriberRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateSubscriberRequest getDefaultInstanceForType()
Returns
Type Description
UpdateSubscriberRequest

getParserForType()

public Parser<UpdateSubscriberRequest> getParserForType()
Returns
Type Description
Parser<UpdateSubscriberRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSubscriber()

public Subscriber getSubscriber()

Required. The subscriber resource to update. Its 'name' field is mapped to the URI, and the value of the 'name' field should be of the form: "projects/{project}/subscribers/{subscriber_id}". The remaining fields of the Subscriber object represent the new values for the corresponding fields in the existing subscriber resource.

.google.devicesandservices.health.v4.Subscriber subscriber = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Subscriber

The subscriber.

getSubscriberOrBuilder()

public SubscriberOrBuilder getSubscriberOrBuilder()

Required. The subscriber resource to update. Its 'name' field is mapped to the URI, and the value of the 'name' field should be of the form: "projects/{project}/subscribers/{subscriber_id}". The remaining fields of the Subscriber object represent the new values for the corresponding fields in the existing subscriber resource.

.google.devicesandservices.health.v4.Subscriber subscriber = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SubscriberOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. A field mask that specifies which fields of the Subscriber message are to be updated. This allows for partial updates. Supported fields:

  • endpoint_uri
  • subscriber_configs
  • endpoint_authorization

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. A field mask that specifies which fields of the Subscriber message are to be updated. This allows for partial updates. Supported fields:

  • endpoint_uri
  • subscriber_configs
  • endpoint_authorization

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasSubscriber()

public boolean hasSubscriber()

Required. The subscriber resource to update. Its 'name' field is mapped to the URI, and the value of the 'name' field should be of the form: "projects/{project}/subscribers/{subscriber_id}". The remaining fields of the Subscriber object represent the new values for the corresponding fields in the existing subscriber resource.

.google.devicesandservices.health.v4.Subscriber subscriber = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the subscriber field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. A field mask that specifies which fields of the Subscriber message are to be updated. This allows for partial updates. Supported fields:

  • endpoint_uri
  • subscriber_configs
  • endpoint_authorization

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateSubscriberRequest.Builder newBuilderForType()
Returns
Type Description
UpdateSubscriberRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected UpdateSubscriberRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateSubscriberRequest.Builder
Overrides

toBuilder()

public UpdateSubscriberRequest.Builder toBuilder()
Returns
Type Description
UpdateSubscriberRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException