Send feedback
Class LinkMetadata (3.23.6)
Stay organized with collections
Save and categorize content based on your preferences.
public final class LinkMetadata extends GeneratedMessageV3 implements LinkMetadataOrBuilder
Metadata for long running Link operations.
Protobuf type google.logging.v2.LinkMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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
public static final int END_TIME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int START_TIME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int STATE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static LinkMetadata getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static LinkMetadata . Builder newBuilder ()
public static LinkMetadata . Builder newBuilder ( LinkMetadata prototype )
public static LinkMetadata parseDelimitedFrom ( InputStream input )
public static LinkMetadata parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static LinkMetadata parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static LinkMetadata parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static LinkMetadata parseFrom ( ByteString data )
public static LinkMetadata parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static LinkMetadata parseFrom ( CodedInputStream input )
public static LinkMetadata parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static LinkMetadata parseFrom ( InputStream input )
public static LinkMetadata parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static LinkMetadata parseFrom ( ByteBuffer data )
public static LinkMetadata parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<LinkMetadata> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public CreateLinkRequest getCreateLinkRequest ()
CreateLink RPC request.
.google.logging.v2.CreateLinkRequest create_link_request = 4;
public CreateLinkRequestOrBuilder getCreateLinkRequestOrBuilder ()
CreateLink RPC request.
.google.logging.v2.CreateLinkRequest create_link_request = 4;
public LinkMetadata getDefaultInstanceForType ()
public DeleteLinkRequest getDeleteLinkRequest ()
DeleteLink RPC request.
.google.logging.v2.DeleteLinkRequest delete_link_request = 5;
public DeleteLinkRequestOrBuilder getDeleteLinkRequestOrBuilder ()
DeleteLink RPC request.
.google.logging.v2.DeleteLinkRequest delete_link_request = 5;
public Timestamp getEndTime ()
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
Returns
Type
Description
Timestamp
The endTime.
public TimestampOrBuilder getEndTimeOrBuilder ()
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
public Parser<LinkMetadata> getParserForType ()
Overrides
public LinkMetadata . RequestCase getRequestCase ()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public Timestamp getStartTime ()
The start time of an operation.
.google.protobuf.Timestamp start_time = 1;
Returns
Type
Description
Timestamp
The startTime.
public TimestampOrBuilder getStartTimeOrBuilder ()
The start time of an operation.
.google.protobuf.Timestamp start_time = 1;
public OperationState getState ()
State of an operation.
.google.logging.v2.OperationState state = 3;
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.
public boolean hasCreateLinkRequest ()
CreateLink RPC request.
.google.logging.v2.CreateLinkRequest create_link_request = 4;
Returns
Type
Description
boolean
Whether the createLinkRequest field is set.
public boolean hasDeleteLinkRequest ()
DeleteLink RPC request.
.google.logging.v2.DeleteLinkRequest delete_link_request = 5;
Returns
Type
Description
boolean
Whether the deleteLinkRequest field is set.
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.
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.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public LinkMetadata . Builder newBuilderForType ()
protected LinkMetadata . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public LinkMetadata . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]