public final class RenewLeaseRequest extends GeneratedMessageV3 implements RenewLeaseRequestOrBuilder
Request message for renewing a lease.
Protobuf type google.cloud.visionai.v1.RenewLeaseRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > RenewLeaseRequestImplements
RenewLeaseRequestOrBuilderStatic 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 |
TERM_FIELD_NUMBER
public static final int TERM_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static RenewLeaseRequest getDefaultInstance()
Returns | |
---|---|
Type | Description |
RenewLeaseRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static RenewLeaseRequest.Builder newBuilder()
Returns | |
---|---|
Type | Description |
RenewLeaseRequest.Builder |
newBuilder(RenewLeaseRequest prototype)
public static RenewLeaseRequest.Builder newBuilder(RenewLeaseRequest prototype)
Parameter | |
---|---|
Name | Description |
prototype |
RenewLeaseRequest |
Returns | |
---|---|
Type | Description |
RenewLeaseRequest.Builder |
parseDelimitedFrom(InputStream input)
public static RenewLeaseRequest parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
RenewLeaseRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RenewLeaseRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RenewLeaseRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static RenewLeaseRequest parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
RenewLeaseRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RenewLeaseRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RenewLeaseRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static RenewLeaseRequest parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
RenewLeaseRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RenewLeaseRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RenewLeaseRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static RenewLeaseRequest parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
RenewLeaseRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RenewLeaseRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RenewLeaseRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static RenewLeaseRequest parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
RenewLeaseRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RenewLeaseRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RenewLeaseRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static RenewLeaseRequest parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
RenewLeaseRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RenewLeaseRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RenewLeaseRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<RenewLeaseRequest> parser()
Returns | |
---|---|
Type | Description |
Parser<RenewLeaseRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public RenewLeaseRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RenewLeaseRequest |
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<RenewLeaseRequest> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<RenewLeaseRequest> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
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. |
getTerm()
public Duration getTerm()
Lease term.
.google.protobuf.Duration term = 4;
Returns | |
---|---|
Type | Description |
Duration |
The term. |
getTermOrBuilder()
public DurationOrBuilder getTermOrBuilder()
Lease term.
.google.protobuf.Duration term = 4;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
hasTerm()
public boolean hasTerm()
Lease term.
.google.protobuf.Duration term = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the term field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public RenewLeaseRequest.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
RenewLeaseRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RenewLeaseRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
RenewLeaseRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public RenewLeaseRequest.Builder toBuilder()
Returns | |
---|---|
Type | Description |
RenewLeaseRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |