public interface

RequestProto.RequestContextOrBuilder

 androidx.health.platform.client.proto.RequestProto.RequestContextOrBuilder

Subclasses:

RequestProto.RequestContext, RequestProto.RequestContext.Builder

Summary

Methods
public java.lang.StringgetCallingPackage()

optional string calling_package = 1;

public com.google.protobuf.ByteStringgetCallingPackageBytes()

optional string calling_package = 1;

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;

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.