Class ReleaseLeaseRequest (0.10.0)

public final class ReleaseLeaseRequest extends GeneratedMessageV3 implements ReleaseLeaseRequestOrBuilder

Request message for releasing lease.

Protobuf type google.cloud.visionai.v1.ReleaseLeaseRequest

Static Fields

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

OWNER_FIELD_NUMBER

public static final int OWNER_FIELD_NUMBER
Field Value
Type Description
int

SERIES_FIELD_NUMBER

public static final int SERIES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReleaseLeaseRequest getDefaultInstance()
Returns
Type Description
ReleaseLeaseRequest

getDescriptor()

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

newBuilder()

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

newBuilder(ReleaseLeaseRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ReleaseLeaseRequest getDefaultInstanceForType()
Returns
Type Description
ReleaseLeaseRequest

getId()

public String getId()

Lease id.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Lease id.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getOwner()

public String getOwner()

Lease owner.

string owner = 3;

Returns
Type Description
String

The owner.

getOwnerBytes()

public ByteString getOwnerBytes()

Lease owner.

string owner = 3;

Returns
Type Description
ByteString

The bytes for owner.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSeries()

public String getSeries()

Series name.

string series = 2;

Returns
Type Description
String

The series.

getSeriesBytes()

public ByteString getSeriesBytes()

Series name.

string series = 2;

Returns
Type Description
ByteString

The bytes for series.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReleaseLeaseRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReleaseLeaseRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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