public final class

RequestProto.RequestContext

extends <any>

implements RequestProto.RequestContextOrBuilder

 java.lang.Object

↳<any>

↳androidx.health.platform.client.proto.RequestProto.RequestContext

Overview

Protobuf type androidx.health.platform.client.proto.RequestContext

Summary

Fields
public static final intCALLING_PACKAGE_FIELD_NUMBER

public static final intIS_IN_FOREGROUND_FIELD_NUMBER

public static final intPERMISSION_TOKEN_FIELD_NUMBER

public static final intSDK_VERSION_FIELD_NUMBER

Methods
protected final java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public java.lang.StringgetCallingPackage()

optional string calling_package = 1;

public com.google.protobuf.ByteStringgetCallingPackageBytes()

optional string calling_package = 1;

public static RequestProto.RequestContextgetDefaultInstance()

public booleangetIsInForeground()

optional bool is_in_foreground = 4;

public java.lang.StringgetPermissionToken()

optional string permission_token = 3;

public com.google.protobuf.ByteStringgetPermissionTokenBytes()

optional string permission_token = 3;

public intgetSdkVersion()

optional int32 sdk_version = 2;

public booleanhasCallingPackage()

optional string calling_package = 1;

public booleanhasIsInForeground()

optional bool is_in_foreground = 4;

public booleanhasPermissionToken()

optional string permission_token = 3;

public booleanhasSdkVersion()

optional int32 sdk_version = 2;

public static RequestProto.RequestContext.BuildernewBuilder()

public static RequestProto.RequestContext.BuildernewBuilder(RequestProto.RequestContext prototype)

public static RequestProto.RequestContextparseDelimitedFrom(java.io.InputStream input)

public static RequestProto.RequestContextparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static RequestProto.RequestContextparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static RequestProto.RequestContextparseFrom(java.nio.ByteBuffer data)

public static RequestProto.RequestContextparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static RequestProto.RequestContextparseFrom(com.google.protobuf.ByteString data)

public static RequestProto.RequestContextparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static RequestProto.RequestContextparseFrom(com.google.protobuf.CodedInputStream input)

public static RequestProto.RequestContextparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static RequestProto.RequestContextparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static <any>parser()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public static final int CALLING_PACKAGE_FIELD_NUMBER

public static final int SDK_VERSION_FIELD_NUMBER

public static final int PERMISSION_TOKEN_FIELD_NUMBER

public static final int IS_IN_FOREGROUND_FIELD_NUMBER

Methods

public boolean hasCallingPackage()

optional string calling_package = 1;

Returns:

Whether the callingPackage field is set.

public java.lang.String getCallingPackage()

optional string calling_package = 1;

Returns:

The callingPackage.

public com.google.protobuf.ByteString getCallingPackageBytes()

optional string calling_package = 1;

Returns:

The bytes for callingPackage.

public boolean hasSdkVersion()

optional int32 sdk_version = 2;

Returns:

Whether the sdkVersion field is set.

public int getSdkVersion()

optional int32 sdk_version = 2;

Returns:

The sdkVersion.

public boolean hasPermissionToken()

optional string permission_token = 3;

Returns:

Whether the permissionToken field is set.

public java.lang.String getPermissionToken()

optional string permission_token = 3;

Returns:

The permissionToken.

public com.google.protobuf.ByteString getPermissionTokenBytes()

optional string permission_token = 3;

Returns:

The bytes for permissionToken.

public boolean hasIsInForeground()

optional bool is_in_foreground = 4;

Returns:

Whether the isInForeground field is set.

public boolean getIsInForeground()

optional bool is_in_foreground = 4;

Returns:

The isInForeground.

public static RequestProto.RequestContext parseFrom(java.nio.ByteBuffer data)

public static RequestProto.RequestContext parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static RequestProto.RequestContext parseFrom(com.google.protobuf.ByteString data)

public static RequestProto.RequestContext parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static RequestProto.RequestContext parseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static RequestProto.RequestContext parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static RequestProto.RequestContext parseDelimitedFrom(java.io.InputStream input)

public static RequestProto.RequestContext parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static RequestProto.RequestContext parseFrom(com.google.protobuf.CodedInputStream input)

public static RequestProto.RequestContext parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static RequestProto.RequestContext.Builder newBuilder()

protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static RequestProto.RequestContext getDefaultInstance()

public static <any> parser()