Class DomainAssessmentReport.DomainRedirectInfo.Builder (0.3.0)

public static final class DomainAssessmentReport.DomainRedirectInfo.Builder extends GeneratedMessage.Builder<DomainAssessmentReport.DomainRedirectInfo.Builder> implements DomainAssessmentReport.DomainRedirectInfoOrBuilder

Information on how to redirect to domain.

Protobuf type google.cloud.designcenter.v1.DomainAssessmentReport.DomainRedirectInfo

Static Methods

getDescriptor()

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

Methods

build()

public DomainAssessmentReport.DomainRedirectInfo build()
Returns
Type Description
DomainAssessmentReport.DomainRedirectInfo

buildPartial()

public DomainAssessmentReport.DomainRedirectInfo buildPartial()
Returns
Type Description
DomainAssessmentReport.DomainRedirectInfo

clear()

public DomainAssessmentReport.DomainRedirectInfo.Builder clear()
Returns
Type Description
DomainAssessmentReport.DomainRedirectInfo.Builder
Overrides

clearOpenInSameTab()

public DomainAssessmentReport.DomainRedirectInfo.Builder clearOpenInSameTab()

Optional. Flag to open the URL in new tab. Default: false.

bool open_in_same_tab = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DomainAssessmentReport.DomainRedirectInfo.Builder

This builder for chaining.

clearUrl()

public DomainAssessmentReport.DomainRedirectInfo.Builder clearUrl()

Required. URL to the domain page.

string url = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DomainAssessmentReport.DomainRedirectInfo.Builder

This builder for chaining.

clearUrlText()

public DomainAssessmentReport.DomainRedirectInfo.Builder clearUrlText()

Required. Text to display in UI on the redirect URL.

string url_text = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DomainAssessmentReport.DomainRedirectInfo.Builder

This builder for chaining.

getDefaultInstanceForType()

public DomainAssessmentReport.DomainRedirectInfo getDefaultInstanceForType()
Returns
Type Description
DomainAssessmentReport.DomainRedirectInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOpenInSameTab()

public boolean getOpenInSameTab()

Optional. Flag to open the URL in new tab. Default: false.

bool open_in_same_tab = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The openInSameTab.

getUrl()

public String getUrl()

Required. URL to the domain page.

string url = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

Required. URL to the domain page.

string url = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for url.

getUrlText()

public String getUrlText()

Required. Text to display in UI on the redirect URL.

string url_text = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The urlText.

getUrlTextBytes()

public ByteString getUrlTextBytes()

Required. Text to display in UI on the redirect URL.

string url_text = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for urlText.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DomainAssessmentReport.DomainRedirectInfo other)

public DomainAssessmentReport.DomainRedirectInfo.Builder mergeFrom(DomainAssessmentReport.DomainRedirectInfo other)
Parameter
Name Description
other DomainAssessmentReport.DomainRedirectInfo
Returns
Type Description
DomainAssessmentReport.DomainRedirectInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DomainAssessmentReport.DomainRedirectInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DomainAssessmentReport.DomainRedirectInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DomainAssessmentReport.DomainRedirectInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DomainAssessmentReport.DomainRedirectInfo.Builder
Overrides

setOpenInSameTab(boolean value)

public DomainAssessmentReport.DomainRedirectInfo.Builder setOpenInSameTab(boolean value)

Optional. Flag to open the URL in new tab. Default: false.

bool open_in_same_tab = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The openInSameTab to set.

Returns
Type Description
DomainAssessmentReport.DomainRedirectInfo.Builder

This builder for chaining.

setUrl(String value)

public DomainAssessmentReport.DomainRedirectInfo.Builder setUrl(String value)

Required. URL to the domain page.

string url = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The url to set.

Returns
Type Description
DomainAssessmentReport.DomainRedirectInfo.Builder

This builder for chaining.

setUrlBytes(ByteString value)

public DomainAssessmentReport.DomainRedirectInfo.Builder setUrlBytes(ByteString value)

Required. URL to the domain page.

string url = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for url to set.

Returns
Type Description
DomainAssessmentReport.DomainRedirectInfo.Builder

This builder for chaining.

setUrlText(String value)

public DomainAssessmentReport.DomainRedirectInfo.Builder setUrlText(String value)

Required. Text to display in UI on the redirect URL.

string url_text = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The urlText to set.

Returns
Type Description
DomainAssessmentReport.DomainRedirectInfo.Builder

This builder for chaining.

setUrlTextBytes(ByteString value)

public DomainAssessmentReport.DomainRedirectInfo.Builder setUrlTextBytes(ByteString value)

Required. Text to display in UI on the redirect URL.

string url_text = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for urlText to set.

Returns
Type Description
DomainAssessmentReport.DomainRedirectInfo.Builder

This builder for chaining.