Class LinkMetadata.Builder (3.20.0)

public static final class LinkMetadata.Builder extends GeneratedMessageV3.Builder<LinkMetadata.Builder> implements LinkMetadataOrBuilder

Metadata for long running Link operations.

Protobuf type google.logging.v2.LinkMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LinkMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LinkMetadata.Builder
Overrides

build()

public LinkMetadata build()
Returns
Type Description
LinkMetadata

buildPartial()

public LinkMetadata buildPartial()
Returns
Type Description
LinkMetadata

clear()

public LinkMetadata.Builder clear()
Returns
Type Description
LinkMetadata.Builder
Overrides

clearCreateLinkRequest()

public LinkMetadata.Builder clearCreateLinkRequest()

CreateLink RPC request.

.google.logging.v2.CreateLinkRequest create_link_request = 4;

Returns
Type Description
LinkMetadata.Builder

clearDeleteLinkRequest()

public LinkMetadata.Builder clearDeleteLinkRequest()

DeleteLink RPC request.

.google.logging.v2.DeleteLinkRequest delete_link_request = 5;

Returns
Type Description
LinkMetadata.Builder

clearEndTime()

public LinkMetadata.Builder clearEndTime()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
LinkMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public LinkMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LinkMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public LinkMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LinkMetadata.Builder
Overrides

clearRequest()

public LinkMetadata.Builder clearRequest()
Returns
Type Description
LinkMetadata.Builder

clearStartTime()

public LinkMetadata.Builder clearStartTime()

The start time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
LinkMetadata.Builder

clearState()

public LinkMetadata.Builder clearState()

State of an operation.

.google.logging.v2.OperationState state = 3;

Returns
Type Description
LinkMetadata.Builder

This builder for chaining.

clone()

public LinkMetadata.Builder clone()
Returns
Type Description
LinkMetadata.Builder
Overrides

getCreateLinkRequest()

public CreateLinkRequest getCreateLinkRequest()

CreateLink RPC request.

.google.logging.v2.CreateLinkRequest create_link_request = 4;

Returns
Type Description
CreateLinkRequest

The createLinkRequest.

getCreateLinkRequestBuilder()

public CreateLinkRequest.Builder getCreateLinkRequestBuilder()

CreateLink RPC request.

.google.logging.v2.CreateLinkRequest create_link_request = 4;

Returns
Type Description
CreateLinkRequest.Builder

getCreateLinkRequestOrBuilder()

public CreateLinkRequestOrBuilder getCreateLinkRequestOrBuilder()

CreateLink RPC request.

.google.logging.v2.CreateLinkRequest create_link_request = 4;

Returns
Type Description
CreateLinkRequestOrBuilder

getDefaultInstanceForType()

public LinkMetadata getDefaultInstanceForType()
Returns
Type Description
LinkMetadata

getDeleteLinkRequest()

public DeleteLinkRequest getDeleteLinkRequest()

DeleteLink RPC request.

.google.logging.v2.DeleteLinkRequest delete_link_request = 5;

Returns
Type Description
DeleteLinkRequest

The deleteLinkRequest.

getDeleteLinkRequestBuilder()

public DeleteLinkRequest.Builder getDeleteLinkRequestBuilder()

DeleteLink RPC request.

.google.logging.v2.DeleteLinkRequest delete_link_request = 5;

Returns
Type Description
DeleteLinkRequest.Builder

getDeleteLinkRequestOrBuilder()

public DeleteLinkRequestOrBuilder getDeleteLinkRequestOrBuilder()

DeleteLink RPC request.

.google.logging.v2.DeleteLinkRequest delete_link_request = 5;

Returns
Type Description
DeleteLinkRequestOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
TimestampOrBuilder

getRequestCase()

public LinkMetadata.RequestCase getRequestCase()
Returns
Type Description
LinkMetadata.RequestCase

getStartTime()

public Timestamp getStartTime()

The start time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The start time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The start time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

getState()

public OperationState getState()

State of an operation.

.google.logging.v2.OperationState state = 3;

Returns
Type Description
OperationState

The state.

getStateValue()

public int getStateValue()

State of an operation.

.google.logging.v2.OperationState state = 3;

Returns
Type Description
int

The enum numeric value on the wire for state.

hasCreateLinkRequest()

public boolean hasCreateLinkRequest()

CreateLink RPC request.

.google.logging.v2.CreateLinkRequest create_link_request = 4;

Returns
Type Description
boolean

Whether the createLinkRequest field is set.

hasDeleteLinkRequest()

public boolean hasDeleteLinkRequest()

DeleteLink RPC request.

.google.logging.v2.DeleteLinkRequest delete_link_request = 5;

Returns
Type Description
boolean

Whether the deleteLinkRequest field is set.

hasEndTime()

public boolean hasEndTime()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

The start time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateLinkRequest(CreateLinkRequest value)

public LinkMetadata.Builder mergeCreateLinkRequest(CreateLinkRequest value)

CreateLink RPC request.

.google.logging.v2.CreateLinkRequest create_link_request = 4;

Parameter
Name Description
value CreateLinkRequest
Returns
Type Description
LinkMetadata.Builder

mergeDeleteLinkRequest(DeleteLinkRequest value)

public LinkMetadata.Builder mergeDeleteLinkRequest(DeleteLinkRequest value)

DeleteLink RPC request.

.google.logging.v2.DeleteLinkRequest delete_link_request = 5;

Parameter
Name Description
value DeleteLinkRequest
Returns
Type Description
LinkMetadata.Builder

mergeEndTime(Timestamp value)

public LinkMetadata.Builder mergeEndTime(Timestamp value)

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
LinkMetadata.Builder

mergeFrom(LinkMetadata other)

public LinkMetadata.Builder mergeFrom(LinkMetadata other)
Parameter
Name Description
other LinkMetadata
Returns
Type Description
LinkMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LinkMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LinkMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LinkMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LinkMetadata.Builder
Overrides

mergeStartTime(Timestamp value)

public LinkMetadata.Builder mergeStartTime(Timestamp value)

The start time of an operation.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
LinkMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LinkMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LinkMetadata.Builder
Overrides

setCreateLinkRequest(CreateLinkRequest value)

public LinkMetadata.Builder setCreateLinkRequest(CreateLinkRequest value)

CreateLink RPC request.

.google.logging.v2.CreateLinkRequest create_link_request = 4;

Parameter
Name Description
value CreateLinkRequest
Returns
Type Description
LinkMetadata.Builder

setCreateLinkRequest(CreateLinkRequest.Builder builderForValue)

public LinkMetadata.Builder setCreateLinkRequest(CreateLinkRequest.Builder builderForValue)

CreateLink RPC request.

.google.logging.v2.CreateLinkRequest create_link_request = 4;

Parameter
Name Description
builderForValue CreateLinkRequest.Builder
Returns
Type Description
LinkMetadata.Builder

setDeleteLinkRequest(DeleteLinkRequest value)

public LinkMetadata.Builder setDeleteLinkRequest(DeleteLinkRequest value)

DeleteLink RPC request.

.google.logging.v2.DeleteLinkRequest delete_link_request = 5;

Parameter
Name Description
value DeleteLinkRequest
Returns
Type Description
LinkMetadata.Builder

setDeleteLinkRequest(DeleteLinkRequest.Builder builderForValue)

public LinkMetadata.Builder setDeleteLinkRequest(DeleteLinkRequest.Builder builderForValue)

DeleteLink RPC request.

.google.logging.v2.DeleteLinkRequest delete_link_request = 5;

Parameter
Name Description
builderForValue DeleteLinkRequest.Builder
Returns
Type Description
LinkMetadata.Builder

setEndTime(Timestamp value)

public LinkMetadata.Builder setEndTime(Timestamp value)

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
LinkMetadata.Builder

setEndTime(Timestamp.Builder builderForValue)

public LinkMetadata.Builder setEndTime(Timestamp.Builder builderForValue)

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
LinkMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public LinkMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LinkMetadata.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LinkMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LinkMetadata.Builder
Overrides

setStartTime(Timestamp value)

public LinkMetadata.Builder setStartTime(Timestamp value)

The start time of an operation.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
LinkMetadata.Builder

setStartTime(Timestamp.Builder builderForValue)

public LinkMetadata.Builder setStartTime(Timestamp.Builder builderForValue)

The start time of an operation.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
LinkMetadata.Builder

setState(OperationState value)

public LinkMetadata.Builder setState(OperationState value)

State of an operation.

.google.logging.v2.OperationState state = 3;

Parameter
Name Description
value OperationState

The state to set.

Returns
Type Description
LinkMetadata.Builder

This builder for chaining.

setStateValue(int value)

public LinkMetadata.Builder setStateValue(int value)

State of an operation.

.google.logging.v2.OperationState state = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
LinkMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final LinkMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LinkMetadata.Builder
Overrides