public static final class FetchReadWriteTokenRequest.Builder extends GeneratedMessageV3.Builder<FetchReadWriteTokenRequest.Builder> implements FetchReadWriteTokenRequestOrBuilder
Message for fetching SCM read/write token.
Protobuf type google.cloud.developerconnect.v1.FetchReadWriteTokenRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FetchReadWriteTokenRequest.BuilderImplements
FetchReadWriteTokenRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FetchReadWriteTokenRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
FetchReadWriteTokenRequest.Builder |
build()
public FetchReadWriteTokenRequest build()
Returns | |
---|---|
Type | Description |
FetchReadWriteTokenRequest |
buildPartial()
public FetchReadWriteTokenRequest buildPartial()
Returns | |
---|---|
Type | Description |
FetchReadWriteTokenRequest |
clear()
public FetchReadWriteTokenRequest.Builder clear()
Returns | |
---|---|
Type | Description |
FetchReadWriteTokenRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public FetchReadWriteTokenRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
FetchReadWriteTokenRequest.Builder |
clearGitRepositoryLink()
public FetchReadWriteTokenRequest.Builder clearGitRepositoryLink()
Required. The resource name of the gitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*
.
string git_repository_link = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
FetchReadWriteTokenRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public FetchReadWriteTokenRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
FetchReadWriteTokenRequest.Builder |
clone()
public FetchReadWriteTokenRequest.Builder clone()
Returns | |
---|---|
Type | Description |
FetchReadWriteTokenRequest.Builder |
getDefaultInstanceForType()
public FetchReadWriteTokenRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
FetchReadWriteTokenRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getGitRepositoryLink()
public String getGitRepositoryLink()
Required. The resource name of the gitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*
.
string git_repository_link = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The gitRepositoryLink. |
getGitRepositoryLinkBytes()
public ByteString getGitRepositoryLinkBytes()
Required. The resource name of the gitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*
.
string git_repository_link = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for gitRepositoryLink. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(FetchReadWriteTokenRequest other)
public FetchReadWriteTokenRequest.Builder mergeFrom(FetchReadWriteTokenRequest other)
Parameter | |
---|---|
Name | Description |
other |
FetchReadWriteTokenRequest |
Returns | |
---|---|
Type | Description |
FetchReadWriteTokenRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchReadWriteTokenRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FetchReadWriteTokenRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public FetchReadWriteTokenRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
FetchReadWriteTokenRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FetchReadWriteTokenRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FetchReadWriteTokenRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public FetchReadWriteTokenRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
FetchReadWriteTokenRequest.Builder |
setGitRepositoryLink(String value)
public FetchReadWriteTokenRequest.Builder setGitRepositoryLink(String value)
Required. The resource name of the gitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*
.
string git_repository_link = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The gitRepositoryLink to set. |
Returns | |
---|---|
Type | Description |
FetchReadWriteTokenRequest.Builder |
This builder for chaining. |
setGitRepositoryLinkBytes(ByteString value)
public FetchReadWriteTokenRequest.Builder setGitRepositoryLinkBytes(ByteString value)
Required. The resource name of the gitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*
.
string git_repository_link = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for gitRepositoryLink to set. |
Returns | |
---|---|
Type | Description |
FetchReadWriteTokenRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FetchReadWriteTokenRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
FetchReadWriteTokenRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final FetchReadWriteTokenRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FetchReadWriteTokenRequest.Builder |