public static final class GuestPolicies.GooRepository.Builder extends GeneratedMessage.Builder<GuestPolicies.GooRepository.Builder> implements GuestPolicies.GooRepositoryOrBuilderRepresents a Goo package repository. These is added to a repo file that is stored at C:/ProgramData/GooGet/repos/google_osconfig.repo.
Protobuf type google.cloud.osconfig.v1beta.GooRepository
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GuestPolicies.GooRepository.BuilderImplements
GuestPolicies.GooRepositoryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GuestPolicies.GooRepository build()| Returns | |
|---|---|
| Type | Description |
GuestPolicies.GooRepository |
|
buildPartial()
public GuestPolicies.GooRepository buildPartial()| Returns | |
|---|---|
| Type | Description |
GuestPolicies.GooRepository |
|
clear()
public GuestPolicies.GooRepository.Builder clear()| Returns | |
|---|---|
| Type | Description |
GuestPolicies.GooRepository.Builder |
|
clearName()
public GuestPolicies.GooRepository.Builder clearName()Required. The name of the repository.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GuestPolicies.GooRepository.Builder |
This builder for chaining. |
clearUrl()
public GuestPolicies.GooRepository.Builder clearUrl()Required. The url of the repository.
string url = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GuestPolicies.GooRepository.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GuestPolicies.GooRepository getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GuestPolicies.GooRepository |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The name of the repository.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The name of the repository.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getUrl()
public String getUrl()Required. The url of the repository.
string url = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The url. |
getUrlBytes()
public ByteString getUrlBytes()Required. The url of the repository.
string url = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for url. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GuestPolicies.GooRepository other)
public GuestPolicies.GooRepository.Builder mergeFrom(GuestPolicies.GooRepository other)| Parameter | |
|---|---|
| Name | Description |
other |
GuestPolicies.GooRepository |
| Returns | |
|---|---|
| Type | Description |
GuestPolicies.GooRepository.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GuestPolicies.GooRepository.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GuestPolicies.GooRepository.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GuestPolicies.GooRepository.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GuestPolicies.GooRepository.Builder |
|
setName(String value)
public GuestPolicies.GooRepository.Builder setName(String value)Required. The name of the repository.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
GuestPolicies.GooRepository.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public GuestPolicies.GooRepository.Builder setNameBytes(ByteString value)Required. The name of the repository.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
GuestPolicies.GooRepository.Builder |
This builder for chaining. |
setUrl(String value)
public GuestPolicies.GooRepository.Builder setUrl(String value)Required. The url of the repository.
string url = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe url to set. |
| Returns | |
|---|---|
| Type | Description |
GuestPolicies.GooRepository.Builder |
This builder for chaining. |
setUrlBytes(ByteString value)
public GuestPolicies.GooRepository.Builder setUrlBytes(ByteString value)Required. The url of the repository.
string url = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for url to set. |
| Returns | |
|---|---|
| Type | Description |
GuestPolicies.GooRepository.Builder |
This builder for chaining. |