public static final class TransferProto.GetTransferJobRequest extends GeneratedMessageV3 implements TransferProto.GetTransferJobRequestOrBuilder
Request passed to GetTransferJob.
Protobuf type google.storagetransfer.v1.GetTransferJobRequest
Static Fields
JOB_NAME_FIELD_NUMBER
public static final int JOB_NAME_FIELD_NUMBER
Field Value
PROJECT_ID_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TransferProto.GetTransferJobRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TransferProto.GetTransferJobRequest.Builder newBuilder()
Returns
newBuilder(TransferProto.GetTransferJobRequest prototype)
public static TransferProto.GetTransferJobRequest.Builder newBuilder(TransferProto.GetTransferJobRequest prototype)
Parameter
Returns
public static TransferProto.GetTransferJobRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransferProto.GetTransferJobRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TransferProto.GetTransferJobRequest parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransferProto.GetTransferJobRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TransferProto.GetTransferJobRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransferProto.GetTransferJobRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferProto.GetTransferJobRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TransferProto.GetTransferJobRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferProto.GetTransferJobRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransferProto.GetTransferJobRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TransferProto.GetTransferJobRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransferProto.GetTransferJobRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TransferProto.GetTransferJobRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public TransferProto.GetTransferJobRequest getDefaultInstanceForType()
Returns
getJobName()
public String getJobName()
Required. The job to get.
string job_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
String |
The jobName.
|
getJobNameBytes()
public ByteString getJobNameBytes()
Required. The job to get.
string job_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
ByteString |
The bytes for jobName.
|
getParserForType()
public Parser<TransferProto.GetTransferJobRequest> getParserForType()
Returns
Overrides
getProjectId()
public String getProjectId()
Required. The ID of the Google Cloud project that owns the
job.
string project_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
String |
The projectId.
|
getProjectIdBytes()
public ByteString getProjectIdBytes()
Required. The ID of the Google Cloud project that owns the
job.
string project_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
ByteString |
The bytes for projectId.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public TransferProto.GetTransferJobRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransferProto.GetTransferJobRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TransferProto.GetTransferJobRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions