Class LinkMetadata (3.20.1)

public final class LinkMetadata extends GeneratedMessageV3 implements LinkMetadataOrBuilder

Metadata for long running Link operations.

Protobuf type google.logging.v2.LinkMetadata

Static Fields

public static final int CREATE_LINK_REQUEST_FIELD_NUMBER
Field Value
Type Description
int
public static final int DELETE_LINK_REQUEST_FIELD_NUMBER
Field Value
Type Description
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static LinkMetadata getDefaultInstance()
Returns
Type Description
LinkMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(LinkMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCreateLinkRequest()

public CreateLinkRequest getCreateLinkRequest()

CreateLink RPC request.

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

Returns
Type Description
CreateLinkRequest

The createLinkRequest.

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.

getDeleteLinkRequestOrBuilder()

public DeleteLinkRequestOrBuilder getDeleteLinkRequestOrBuilder()

DeleteLink RPC request.

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

Returns
Type Description
DeleteLinkRequestOrBuilder

getEndTime()

public Timestamp getEndTime()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
TimestampOrBuilder

getParserForType()

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

getRequestCase()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

The start time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

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.

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 LinkMetadata.Builder newBuilderForType()
Returns
Type Description
LinkMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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