public static final class ReleaseLeaseRequest.Builder extends GeneratedMessageV3.Builder<ReleaseLeaseRequest.Builder> implements ReleaseLeaseRequestOrBuilder
Request message for releasing lease.
Protobuf type google.cloud.visionai.v1.ReleaseLeaseRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReleaseLeaseRequest.BuilderImplements
ReleaseLeaseRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReleaseLeaseRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ReleaseLeaseRequest.Builder |
build()
public ReleaseLeaseRequest build()
Returns | |
---|---|
Type | Description |
ReleaseLeaseRequest |
buildPartial()
public ReleaseLeaseRequest buildPartial()
Returns | |
---|---|
Type | Description |
ReleaseLeaseRequest |
clear()
public ReleaseLeaseRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ReleaseLeaseRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ReleaseLeaseRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ReleaseLeaseRequest.Builder |
clearId()
public ReleaseLeaseRequest.Builder clearId()
Lease id.
string id = 1;
Returns | |
---|---|
Type | Description |
ReleaseLeaseRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReleaseLeaseRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ReleaseLeaseRequest.Builder |
clearOwner()
public ReleaseLeaseRequest.Builder clearOwner()
Lease owner.
string owner = 3;
Returns | |
---|---|
Type | Description |
ReleaseLeaseRequest.Builder |
This builder for chaining. |
clearSeries()
public ReleaseLeaseRequest.Builder clearSeries()
Series name.
string series = 2;
Returns | |
---|---|
Type | Description |
ReleaseLeaseRequest.Builder |
This builder for chaining. |
clone()
public ReleaseLeaseRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ReleaseLeaseRequest.Builder |
getDefaultInstanceForType()
public ReleaseLeaseRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ReleaseLeaseRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ReleaseLeaseRequest other)
public ReleaseLeaseRequest.Builder mergeFrom(ReleaseLeaseRequest other)
Parameter | |
---|---|
Name | Description |
other |
ReleaseLeaseRequest |
Returns | |
---|---|
Type | Description |
ReleaseLeaseRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReleaseLeaseRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReleaseLeaseRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ReleaseLeaseRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ReleaseLeaseRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReleaseLeaseRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ReleaseLeaseRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ReleaseLeaseRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ReleaseLeaseRequest.Builder |
setId(String value)
public ReleaseLeaseRequest.Builder setId(String value)
Lease id.
string id = 1;
Parameter | |
---|---|
Name | Description |
value |
String The id to set. |
Returns | |
---|---|
Type | Description |
ReleaseLeaseRequest.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public ReleaseLeaseRequest.Builder setIdBytes(ByteString value)
Lease id.
string id = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for id to set. |
Returns | |
---|---|
Type | Description |
ReleaseLeaseRequest.Builder |
This builder for chaining. |
setOwner(String value)
public ReleaseLeaseRequest.Builder setOwner(String value)
Lease owner.
string owner = 3;
Parameter | |
---|---|
Name | Description |
value |
String The owner to set. |
Returns | |
---|---|
Type | Description |
ReleaseLeaseRequest.Builder |
This builder for chaining. |
setOwnerBytes(ByteString value)
public ReleaseLeaseRequest.Builder setOwnerBytes(ByteString value)
Lease owner.
string owner = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for owner to set. |
Returns | |
---|---|
Type | Description |
ReleaseLeaseRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReleaseLeaseRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ReleaseLeaseRequest.Builder |
setSeries(String value)
public ReleaseLeaseRequest.Builder setSeries(String value)
Series name.
string series = 2;
Parameter | |
---|---|
Name | Description |
value |
String The series to set. |
Returns | |
---|---|
Type | Description |
ReleaseLeaseRequest.Builder |
This builder for chaining. |
setSeriesBytes(ByteString value)
public ReleaseLeaseRequest.Builder setSeriesBytes(ByteString value)
Series name.
string series = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for series to set. |
Returns | |
---|---|
Type | Description |
ReleaseLeaseRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ReleaseLeaseRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ReleaseLeaseRequest.Builder |