Class UpdateDeviceSessionRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateDeviceSessionRequest.Builder>
com.google.cloud.devicestreaming.v1.UpdateDeviceSessionRequest.Builder
All Implemented Interfaces:
UpdateDeviceSessionRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateDeviceSessionRequest

public static final class UpdateDeviceSessionRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateDeviceSessionRequest.Builder> implements UpdateDeviceSessionRequestOrBuilder
 Request message for DirectAccessService.UpdateDeviceSession.
 
Protobuf type google.cloud.devicestreaming.v1.UpdateDeviceSessionRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UpdateDeviceSessionRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<UpdateDeviceSessionRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<UpdateDeviceSessionRequest.Builder>
    • getDefaultInstanceForType

      public UpdateDeviceSessionRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public UpdateDeviceSessionRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public UpdateDeviceSessionRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateDeviceSessionRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<UpdateDeviceSessionRequest.Builder>
    • mergeFrom

      public UpdateDeviceSessionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateDeviceSessionRequest.Builder>
      Throws:
      IOException
    • hasDeviceSession

      public boolean hasDeviceSession()
       Required. DeviceSession to update.
       The DeviceSession's `name` field is used to identify the session to update
       "projects/{project_id}/deviceSessions/{session_id}"
       
      .google.cloud.devicestreaming.v1.DeviceSession device_session = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasDeviceSession in interface UpdateDeviceSessionRequestOrBuilder
      Returns:
      Whether the deviceSession field is set.
    • getDeviceSession

      public DeviceSession getDeviceSession()
       Required. DeviceSession to update.
       The DeviceSession's `name` field is used to identify the session to update
       "projects/{project_id}/deviceSessions/{session_id}"
       
      .google.cloud.devicestreaming.v1.DeviceSession device_session = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDeviceSession in interface UpdateDeviceSessionRequestOrBuilder
      Returns:
      The deviceSession.
    • setDeviceSession

      public UpdateDeviceSessionRequest.Builder setDeviceSession(DeviceSession value)
       Required. DeviceSession to update.
       The DeviceSession's `name` field is used to identify the session to update
       "projects/{project_id}/deviceSessions/{session_id}"
       
      .google.cloud.devicestreaming.v1.DeviceSession device_session = 1 [(.google.api.field_behavior) = REQUIRED];
    • setDeviceSession

      public UpdateDeviceSessionRequest.Builder setDeviceSession(DeviceSession.Builder builderForValue)
       Required. DeviceSession to update.
       The DeviceSession's `name` field is used to identify the session to update
       "projects/{project_id}/deviceSessions/{session_id}"
       
      .google.cloud.devicestreaming.v1.DeviceSession device_session = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeDeviceSession

      public UpdateDeviceSessionRequest.Builder mergeDeviceSession(DeviceSession value)
       Required. DeviceSession to update.
       The DeviceSession's `name` field is used to identify the session to update
       "projects/{project_id}/deviceSessions/{session_id}"
       
      .google.cloud.devicestreaming.v1.DeviceSession device_session = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearDeviceSession

      public UpdateDeviceSessionRequest.Builder clearDeviceSession()
       Required. DeviceSession to update.
       The DeviceSession's `name` field is used to identify the session to update
       "projects/{project_id}/deviceSessions/{session_id}"
       
      .google.cloud.devicestreaming.v1.DeviceSession device_session = 1 [(.google.api.field_behavior) = REQUIRED];
    • getDeviceSessionBuilder

      public DeviceSession.Builder getDeviceSessionBuilder()
       Required. DeviceSession to update.
       The DeviceSession's `name` field is used to identify the session to update
       "projects/{project_id}/deviceSessions/{session_id}"
       
      .google.cloud.devicestreaming.v1.DeviceSession device_session = 1 [(.google.api.field_behavior) = REQUIRED];
    • getDeviceSessionOrBuilder

      public DeviceSessionOrBuilder getDeviceSessionOrBuilder()
       Required. DeviceSession to update.
       The DeviceSession's `name` field is used to identify the session to update
       "projects/{project_id}/deviceSessions/{session_id}"
       
      .google.cloud.devicestreaming.v1.DeviceSession device_session = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDeviceSessionOrBuilder in interface UpdateDeviceSessionRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUpdateMask in interface UpdateDeviceSessionRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMask in interface UpdateDeviceSessionRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateDeviceSessionRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setUpdateMask

      public UpdateDeviceSessionRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeUpdateMask

      public UpdateDeviceSessionRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearUpdateMask

      public UpdateDeviceSessionRequest.Builder clearUpdateMask()
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateDeviceSessionRequestOrBuilder